Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.002782/0.002782, allocations: 178.8 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6581/0.6581, allocations: 130.6 MB / 138.5 MB, free: 2.18 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.3 MB / 391.4 MB, free: 13.05 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.001167/0.001167, allocations: 105.4 kB / 473.4 MB, free: 14.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.368e-06/9.398e-06, allocations: 2.375 kB / 0.5479 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.18, allocations: 81.59 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5554/0.7355, allocations: 110.9 MB / 0.7359 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.7358, allocations: 70.39 kB / 0.7359 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0125/0.7483, allocations: 3.999 MB / 0.7398 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.7484, allocations: 4 kB / 0.7398 GB, free: 11.25 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.0005106/0.7489, allocations: 364 kB / 0.7402 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7489, allocations: 11.66 kB / 0.7402 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.749, allocations: 11.91 kB / 0.7402 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.7492, allocations: 168.1 kB / 0.7404 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.7492, allocations: 0 / 0.7404 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.7492, allocations: 0 / 0.7404 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.141e-05/0.7493, allocations: 14.41 kB / 0.7404 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.936e-05/0.7494, allocations: 39.47 kB / 0.7404 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7494, allocations: 0 / 0.7404 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.7494, allocations: 0 / 0.7404 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.7494, allocations: 0 / 0.7404 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.7499, allocations: 253.8 kB / 0.7407 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.842e-05/0.75, allocations: 27.67 kB / 0.7407 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.75, allocations: 12.64 kB / 0.7407 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.7507, allocations: 461.6 kB / 0.7411 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.7507, allocations: 35.16 kB / 0.7412 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.7507, allocations: 0 / 0.7412 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.7509, allocations: 45.62 kB / 0.7412 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.751, allocations: 51.41 kB / 0.7413 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.693e-05/0.7511, allocations: 98.19 kB / 0.7414 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.7511, allocations: 25.7 kB / 0.7414 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.7511, allocations: 85.89 kB / 0.7415 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.7512, allocations: 3.906 kB / 0.7415 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.7512, allocations: 0 / 0.7415 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.7514, allocations: 316 kB / 0.7418 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.7514, allocations: 3.875 kB / 0.7418 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.308e-05/0.7514, allocations: 7.719 kB / 0.7418 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/0.7515, allocations: 13.19 kB / 0.7418 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.7515, allocations: 0 / 0.7418 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001039/0.7516, allocations: 50.31 kB / 0.7419 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.7516, allocations: 3.844 kB / 0.7419 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.7516, allocations: 0 / 0.7419 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7516, allocations: 4.516 kB / 0.7419 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.7517, allocations: 14.03 kB / 0.7419 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7517, allocations: 0.75 kB / 0.7419 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.7518, allocations: 13.69 kB / 0.7419 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.7518, allocations: 0.5156 kB / 0.7419 GB, free: 25.17 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 7.764e-05/0.7519, allocations: 101 kB / 0.742 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.752, allocations: 8.297 kB / 0.742 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.7521, allocations: 51.48 kB / 0.742 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7521, allocations: 4.031 kB / 0.742 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7521, allocations: 3.875 kB / 0.742 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7521, allocations: 0.7969 kB / 0.742 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.7523, allocations: 135.4 kB / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7523, allocations: 4.656 kB / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.779e-05/0.7523, allocations: 10.38 kB / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.7524, allocations: 7.844 kB / 0.7422 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7524, allocations: 0.7031 kB / 0.7422 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7524, allocations: 4 kB / 0.7422 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7524, allocations: 0 / 0.7422 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001651/0.7526, allocations: 139.5 kB / 0.7423 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.7526, allocations: 81.84 kB / 0.7424 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7526, allocations: 0 / 0.7424 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.7527, allocations: 13.98 kB / 0.7424 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.7528, allocations: 8.828 kB / 0.7424 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.7528, allocations: 0 / 0.7424 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.253e-05/0.7528, allocations: 80.17 kB / 0.7425 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002295/0.7531, allocations: 16.42 kB / 0.7425 GB, free: 24.54 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.0001765/0.7533, allocations: 119.8 kB / 0.7426 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.7533, allocations: 11.16 kB / 0.7427 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7534, allocations: 4.062 kB / 0.7427 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.7534, allocations: 7.844 kB / 0.7427 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.7536, allocations: 7.156 kB / 0.7427 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.7538, allocations: 63.33 kB / 0.7427 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.7541, allocations: 0.6972 MB / 0.7434 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of SimCode: time 4.11e-07/0.7542, allocations: 0 / 0.7434 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of Templates: time 0.003383/0.7575, allocations: 0.6669 MB / 0.7441 GB, free: 23.59 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)