Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [: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.003421/0.003421, allocations: 179.6 kB / 7.454 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.672/0.672, allocations: 130.6 MB / 138.5 MB, free: 2.191 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.618/1.618, allocations: 221.3 MB / 391.4 MB, free: 13.03 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.001013/0.001014, allocations: 92.61 kB / 473.4 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.123e-05/1.16e-05, allocations: 5.938 kB / 0.5479 GB, free: 88.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1595, allocations: 81.59 MB / 0.6276 GB, free: 17.8 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6646, allocations: 110.3 MB / 0.7353 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.6649, allocations: 78.84 kB / 0.7354 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01277/0.6777, allocations: 4.194 MB / 0.7395 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.6778, allocations: 3.594 kB / 0.7395 GB, free: 11.12 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003776/0.6781, allocations: 349 kB / 0.7398 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6782, allocations: 7.688 kB / 0.7398 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.6783, allocations: 7.906 kB / 0.7398 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.6784, allocations: 160.5 kB / 0.74 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.6785, allocations: 3.812 kB / 0.74 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.6785, allocations: 3.938 kB / 0.74 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.783e-05/0.6785, allocations: 3.844 kB / 0.74 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.585e-05/0.6786, allocations: 27.11 kB / 0.74 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.6786, allocations: 3.875 kB / 0.74 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6786, allocations: 5.453 kB / 0.74 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.6787, allocations: 0 / 0.74 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.6788, allocations: 134.6 kB / 0.7401 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.711e-05/0.6789, allocations: 19.94 kB / 0.7402 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.6789, allocations: 5.609 kB / 0.7402 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006654/0.6796, allocations: 458.2 kB / 0.7406 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.6796, allocations: 46.16 kB / 0.7406 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.774e-06/0.6796, allocations: 0 / 0.7406 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0006379/0.6803, allocations: 233.7 kB / 0.7409 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6803, allocations: 55.22 kB / 0.7409 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.6804, allocations: 90.19 kB / 0.741 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.6804, allocations: 29.64 kB / 0.741 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.6805, allocations: 88.33 kB / 0.7411 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.6805, allocations: 13.33 kB / 0.7411 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.6805, allocations: 3.938 kB / 0.7411 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6807, allocations: 314.4 kB / 0.7414 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.6807, allocations: 4.922 kB / 0.7414 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.109e-05/0.6807, allocations: 17.53 kB / 0.7415 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.6808, allocations: 8.672 kB / 0.7415 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6808, allocations: 4 kB / 0.7415 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.6809, allocations: 46.84 kB / 0.7415 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6809, allocations: 11.69 kB / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.6809, allocations: 0 / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.681, allocations: 0 / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.681, allocations: 17 kB / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.681, allocations: 0 / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.6811, allocations: 0 / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.6811, allocations: 0 / 0.7415 GB, free: 24.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.294e-05/0.6812, allocations: 110.3 kB / 0.7416 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.6812, allocations: 0 / 0.7416 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.6814, allocations: 53.36 kB / 0.7417 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.6814, allocations: 3.875 kB / 0.7417 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6814, allocations: 0 / 0.7417 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6814, allocations: 3.938 kB / 0.7417 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.6815, allocations: 136.7 kB / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6815, allocations: 4 kB / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.6816, allocations: 5.141 kB / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6816, allocations: 0 / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.6816, allocations: 0 / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6816, allocations: 0 / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6816, allocations: 5.094 kB / 0.7418 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001635/0.6818, allocations: 74.09 kB / 0.7419 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.6819, allocations: 82.47 kB / 0.742 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.6819, allocations: 4.062 kB / 0.742 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.133e-05/0.6819, allocations: 3.594 kB / 0.742 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.682, allocations: 1.219 kB / 0.742 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.682, allocations: 3.25 kB / 0.742 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.654e-05/0.682, allocations: 80.34 kB / 0.7421 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002457/0.6823, allocations: 32.61 kB / 0.7421 GB, free: 24.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002659/0.6825, allocations: 138 kB / 0.7422 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.628e-05/0.6826, allocations: 14.59 kB / 0.7423 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6826, allocations: 0 / 0.7423 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.6826, allocations: 8.828 kB / 0.7423 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.6827, allocations: 7 kB / 0.7423 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.683, allocations: 69.16 kB / 0.7423 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.6832, allocations: 0.6873 MB / 0.743 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.6833, allocations: 3.906 kB / 0.743 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.003207/0.6865, allocations: 0.8742 MB / 0.7439 GB, free: 23.36 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)