Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00285/0.00285, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6142/0.6142, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.118/1.118, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 103.1 kB / 477.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.206e-06/8.226e-06, allocations: 2.625 kB / 0.5528 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3334/0.4469, allocations: 111.1 MB / 0.7417 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.4471, allocations: 70.2 kB / 0.7418 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01044/0.4575, allocations: 4.007 MB / 0.7457 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.4576, allocations: 0 / 0.7457 GB, free: 10.58 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003734/0.4579, allocations: 370.3 kB / 0.7461 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.458, allocations: 7.656 kB / 0.7461 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.45e-05/0.458, allocations: 15.83 kB / 0.7461 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4582, allocations: 168 kB / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4582, allocations: 0 / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.4582, allocations: 3.844 kB / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.875e-05/0.4583, allocations: 10.98 kB / 0.7463 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.53e-05/0.4583, allocations: 35.84 kB / 0.7463 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4583, allocations: 0.5625 kB / 0.7463 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.4584, allocations: 0 / 0.7463 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.4584, allocations: 0 / 0.7463 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.4587, allocations: 256.5 kB / 0.7465 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.4588, allocations: 22.34 kB / 0.7466 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.4588, allocations: 15.98 kB / 0.7466 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005658/0.4594, allocations: 458.5 kB / 0.747 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.4594, allocations: 37.56 kB / 0.7471 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4594, allocations: 0 / 0.7471 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.4596, allocations: 42.45 kB / 0.7471 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.4596, allocations: 55.44 kB / 0.7472 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.979e-05/0.4597, allocations: 101.3 kB / 0.7472 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.4597, allocations: 25.7 kB / 0.7473 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.4597, allocations: 81.55 kB / 0.7474 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.4597, allocations: 7.75 kB / 0.7474 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.4598, allocations: 0 / 0.7474 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.4598, allocations: 315.7 kB / 0.7477 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.4599, allocations: 7.156 kB / 0.7477 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.4599, allocations: 3.875 kB / 0.7477 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.4599, allocations: 8.234 kB / 0.7477 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4599, allocations: 0 / 0.7477 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.845e-05/0.46, allocations: 42.83 kB / 0.7477 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.46, allocations: 7.5 kB / 0.7477 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.46, allocations: 3.938 kB / 0.7477 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.4601, allocations: 4.562 kB / 0.7477 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.4601, allocations: 10.2 kB / 0.7477 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4602, allocations: 4.891 kB / 0.7477 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.4602, allocations: 9.656 kB / 0.7478 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.4602, allocations: 0 / 0.7478 GB, free: 24.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.4603, allocations: 109.5 kB / 0.7479 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.4603, allocations: 3.906 kB / 0.7479 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.4604, allocations: 55.59 kB / 0.7479 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4604, allocations: 0 / 0.7479 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4605, allocations: 256 / 0.7479 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4605, allocations: 0.6562 kB / 0.7479 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4606, allocations: 143.2 kB / 0.7481 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4606, allocations: 3.938 kB / 0.7481 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.365e-05/0.4607, allocations: 10.67 kB / 0.7481 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4607, allocations: 3.906 kB / 0.7481 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.4607, allocations: 4.031 kB / 0.7481 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4607, allocations: 0.75 kB / 0.7481 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4607, allocations: 3.812 kB / 0.7481 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.4608, allocations: 143.8 kB / 0.7482 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.4608, allocations: 81.84 kB / 0.7483 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.4609, allocations: 0 / 0.7483 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.461, allocations: 14.38 kB / 0.7483 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.461, allocations: 1.453 kB / 0.7483 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.461, allocations: 0 / 0.7483 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.577e-05/0.461, allocations: 87.44 kB / 0.7484 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002119/0.4613, allocations: 15.94 kB / 0.7484 GB, free: 23.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.4614, allocations: 117.6 kB / 0.7485 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.356e-05/0.4615, allocations: 14.44 kB / 0.7485 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4615, allocations: 0 / 0.7485 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.4615, allocations: 14.81 kB / 0.7486 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.4617, allocations: 4.547 kB / 0.7486 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.4618, allocations: 59.41 kB / 0.7486 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.4621, allocations: 0.7006 MB / 0.7493 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.4621, allocations: 0 / 0.7493 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of Templates: time 0.002289/0.4644, allocations: 0.6625 MB / 0.7499 GB, free: 22.92 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)