Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007705/0.007705, allocations: 170.4 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.2 MB / 239 MB, free: 1.773 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009159, allocations: 94.73 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4576/0.4576, allocations: 79.44 MB / 420.8 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 12 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3596, allocations: 69.5 MB / 0.5569 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4927, allocations: 99.45 MB / 0.654 GB, free: 6.121 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.493, allocations: 71.97 kB / 0.6541 GB, free: 6.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0671/0.5601, allocations: 25.19 MB / 0.6787 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5602, allocations: 0 / 0.6787 GB, free: 12.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.141e-05/0.5602, allocations: 16 kB / 0.6787 GB, free: 12.72 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.005234/0.5655, allocations: 1.826 MB / 0.6805 GB, free: 10.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5655, allocations: 8.031 kB / 0.6805 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.5683, allocations: 494 kB / 0.681 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.5695, allocations: 0.659 MB / 0.6816 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.5699, allocations: 357.2 kB / 0.682 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.57, allocations: 75.86 kB / 0.682 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.5724, allocations: 1.2 MB / 0.6832 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5725, allocations: 0 / 0.6832 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.5726, allocations: 28 kB / 0.6832 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.5726, allocations: 20 kB / 0.6832 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.575, allocations: 1.163 MB / 0.6844 GB, free: 6.727 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005968/0.581, allocations: 3.381 MB / 0.6877 GB, free: 3.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007646/0.5886, allocations: 2.86 MB / 0.6905 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.5888, allocations: 12.98 kB / 0.6905 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.5889, allocations: 55.48 kB / 0.6905 GB, free: 180 kB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.337e-06/0.5889, allocations: 0 / 0.6905 GB, free: 180 kB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02752/0.6164, allocations: 8.482 MB / 0.6988 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.6165, allocations: 86.11 kB / 0.6989 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.6176, allocations: 0.7305 MB / 0.6996 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.6178, allocations: 37.7 kB / 0.6997 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.6181, allocations: 452.7 kB / 0.7001 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003194/0.6184, allocations: 311.4 kB / 0.7004 GB, free: 5.977 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.6185, allocations: 24 kB / 0.7004 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6186, allocations: 337.9 kB / 0.7007 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.6201, allocations: 0.6852 MB / 0.7014 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.6216, allocations: 0.8197 MB / 0.7022 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.6231, allocations: 0.7292 MB / 0.7029 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6231, allocations: 8 kB / 0.7029 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01541/0.6385, allocations: 5.197 MB / 0.708 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.6386, allocations: 8 kB / 0.708 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.6386, allocations: 4 kB / 0.708 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/0.6463, allocations: 2.517 MB / 0.7105 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.647, allocations: 107.9 kB / 0.7106 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/0.6722, allocations: 10.97 MB / 0.7213 GB, free: 388 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.6738, allocations: 207.1 kB / 0.7215 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-05/0.6739, allocations: 24 kB / 0.7215 GB, free: 156 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005024/0.6744, allocations: 223.9 kB / 0.7217 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.6746, allocations: 118.6 kB / 0.7218 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.6892, allocations: 5.162 MB / 0.7269 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.6893, allocations: 8 kB / 0.7269 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.6893, allocations: 0 / 0.7269 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.6893, allocations: 7.969 kB / 0.7269 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/0.7066, allocations: 6.75 MB / 0.7335 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7067, allocations: 0 / 0.7335 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.7072, allocations: 95.89 kB / 0.7336 GB, free: 3.645 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00719/0.7144, allocations: 2.398 MB / 0.7359 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.7146, allocations: 16 kB / 0.7359 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/0.7368, allocations: 9.699 MB / 0.7454 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7368, allocations: 0 / 0.7454 GB, free: 7.383 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.7536, allocations: 6.269 MB / 0.7515 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.7541, allocations: 199.6 kB / 0.7517 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.7543, allocations: 16 kB / 0.7517 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.7555, allocations: 155.9 kB / 0.7519 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008252/0.7563, allocations: 236.5 kB / 0.7521 GB, free: 476 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.7564, allocations: 27.92 kB / 0.7521 GB, free: 448 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000808/0.7572, allocations: 0.5672 MB / 0.7527 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7573, allocations: 0 / 0.7527 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001268/0.7585, allocations: 419.5 kB / 0.7531 GB, free: 15.45 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002842/0.7588, allocations: 139.2 kB / 0.7532 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007513/0.7663, allocations: 2.779 MB / 0.7559 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7664, allocations: 0 / 0.7559 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005679/0.7721, allocations: 2.003 MB / 0.7579 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007464/0.7728, allocations: 75.48 kB / 0.7579 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.7762, allocations: 2.218 MB / 0.7601 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.7769, allocations: 1.084 MB / 0.7612 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002965/0.7772, allocations: 61.34 kB / 0.7612 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.7773, allocations: 47.44 kB / 0.7613 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of SimCode: time 9.41e-07/0.7773, allocations: 0 / 0.7613 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of Templates: time 0.2664/1.044, allocations: 22.35 MB / 0.7831 GB, free: 150 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Tests_Sources_VoltageSourceReImInputVaryImag -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.o OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag_functions.h:137:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryImag.o] Error 1