Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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.VoltageSourceReImInputVaryReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal") translateModel(OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005386/0.005386, allocations: 168.2 kB / 15.11 MB, free: 5.969 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.313/1.313, allocations: 223.2 MB / 239 MB, free: 1.75 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.0009012/0.0009011, allocations: 98.02 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4858/0.4858, allocations: 79.44 MB / 420.8 MB, free: 43.64 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004031, allocations: 12 kB / 0.489 GB, free: 2.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3749, allocations: 69.5 MB / 0.5569 GB, free: 39.08 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.5056, allocations: 99.45 MB / 0.654 GB, free: 6.098 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5059, allocations: 75.97 kB / 0.6541 GB, free: 6.023 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06819/0.5741, allocations: 25.21 MB / 0.6787 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5741, allocations: 0 / 0.6787 GB, free: 12.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.178e-05/0.5742, allocations: 16 kB / 0.6787 GB, free: 12.67 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.005876/0.5801, allocations: 1.834 MB / 0.6805 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.5802, allocations: 8.031 kB / 0.6805 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.5831, allocations: 486 kB / 0.681 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.5846, allocations: 0.6513 MB / 0.6816 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004384/0.585, allocations: 361.2 kB / 0.682 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.5854, allocations: 71.86 kB / 0.682 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.5882, allocations: 1.2 MB / 0.6832 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.5882, allocations: 4 kB / 0.6832 GB, free: 7.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.5883, allocations: 32 kB / 0.6832 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.5884, allocations: 16 kB / 0.6833 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.591, allocations: 1.175 MB / 0.6844 GB, free: 6.676 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.006699/0.5977, allocations: 3.377 MB / 0.6877 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/0.6057, allocations: 2.862 MB / 0.6905 GB, free: 204 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.6058, allocations: 16.97 kB / 0.6905 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6059, allocations: 43.56 kB / 0.6906 GB, free: 136 kB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.397e-06/0.6059, allocations: 0 / 0.6906 GB, free: 136 kB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02899/0.6349, allocations: 8.478 MB / 0.6988 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.635, allocations: 90.09 kB / 0.6989 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.6363, allocations: 0.7305 MB / 0.6996 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.6365, allocations: 41.7 kB / 0.6997 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003367/0.6368, allocations: 452.7 kB / 0.7001 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/0.6372, allocations: 315.4 kB / 0.7004 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.6373, allocations: 20 kB / 0.7004 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.6375, allocations: 333.9 kB / 0.7007 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.6391, allocations: 0.6891 MB / 0.7014 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.6407, allocations: 0.8236 MB / 0.7022 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.6424, allocations: 0.7253 MB / 0.7029 GB, free: 3.289 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6424, allocations: 4 kB / 0.7029 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01567/0.6581, allocations: 5.201 MB / 0.708 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.6581, allocations: 8 kB / 0.708 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6582, allocations: 8.312 kB / 0.708 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007869/0.666, allocations: 2.509 MB / 0.7105 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.6667, allocations: 111.9 kB / 0.7106 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02671/0.6934, allocations: 10.96 MB / 0.7213 GB, free: 344 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.6951, allocations: 203.2 kB / 0.7215 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.6952, allocations: 27.98 kB / 0.7215 GB, free: 112 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.0006264/0.6959, allocations: 228.4 kB / 0.7217 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.6962, allocations: 110.6 kB / 0.7218 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/0.7117, allocations: 5.162 MB / 0.7269 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.7117, allocations: 11.98 kB / 0.7269 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7118, allocations: 4 kB / 0.7269 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/0.7118, allocations: 3.984 kB / 0.7269 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01883/0.7306, allocations: 6.746 MB / 0.7335 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.7307, allocations: 4 kB / 0.7335 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.7312, allocations: 91.89 kB / 0.7336 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007504/0.7388, allocations: 2.398 MB / 0.7359 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001949/0.739, allocations: 19.98 kB / 0.7359 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02434/0.7633, allocations: 9.702 MB / 0.7454 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7634, allocations: 0 / 0.7454 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/0.7812, allocations: 6.273 MB / 0.7515 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.7817, allocations: 195.6 kB / 0.7517 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/0.7821, allocations: 16 kB / 0.7517 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.7839, allocations: 163.8 kB / 0.7519 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/0.7856, allocations: 232.5 kB / 0.7521 GB, free: 428 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/0.7859, allocations: 20 kB / 0.7521 GB, free: 408 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001042/0.7869, allocations: 0.575 MB / 0.7527 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7869, allocations: 0 / 0.7527 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001513/0.7884, allocations: 411.5 kB / 0.7531 GB, free: 15.41 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.0002946/0.7888, allocations: 145.4 kB / 0.7532 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008043/0.7968, allocations: 2.772 MB / 0.7559 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7968, allocations: 256 / 0.7559 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005998/0.8029, allocations: 2.011 MB / 0.7579 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.8037, allocations: 71.48 kB / 0.758 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.8077, allocations: 2.229 MB / 0.7601 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.8085, allocations: 1.072 MB / 0.7612 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.8088, allocations: 61.36 kB / 0.7612 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.809, allocations: 51.42 kB / 0.7613 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/0.809, allocations: 0 / 0.7613 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of Templates: time 0.2579/1.067, allocations: 22.36 MB / 0.7831 GB, free: 149.8 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.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_VoltageSourceReImInputVaryReal -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.VoltageSourceReImInputVaryReal.o OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Sources.VoltageSourceReImInputVaryReal_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.VoltageSourceReImInputVaryReal.o] Error 1