Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.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.003086/0.003086, allocations: 181.1 kB / 7.455 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.7692/0.7692, allocations: 130.6 MB / 138.5 MB, free: 2.145 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.538/1.538, allocations: 221.4 MB / 391.4 MB, free: 13.01 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.001021/0.001021, allocations: 101.1 kB / 473.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.749e-06, allocations: 7.312 kB / 0.5479 GB, free: 89.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 81.58 MB / 0.6276 GB, free: 18.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.6359, allocations: 110.2 MB / 0.7352 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6362, allocations: 75.53 kB / 0.7352 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01059/0.6468, allocations: 3.678 MB / 0.7388 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6469, allocations: 0 / 0.7388 GB, free: 11.24 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003279/0.6472, allocations: 335.2 kB / 0.7392 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6473, allocations: 11.53 kB / 0.7392 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.6473, allocations: 0 / 0.7392 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.6474, allocations: 166.9 kB / 0.7393 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.6475, allocations: 0 / 0.7393 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-06/0.6475, allocations: 0 / 0.7393 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.638e-05/0.6475, allocations: 5.141 kB / 0.7393 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.744e-05/0.6476, allocations: 29.7 kB / 0.7394 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.6476, allocations: 0 / 0.7394 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.6476, allocations: 0 / 0.7394 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.6477, allocations: 1.078 kB / 0.7394 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.6478, allocations: 127.4 kB / 0.7395 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.167e-05/0.6478, allocations: 22.36 kB / 0.7395 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.6479, allocations: 8.797 kB / 0.7395 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005247/0.6484, allocations: 434.7 kB / 0.7399 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.6485, allocations: 30.56 kB / 0.74 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.6485, allocations: 0 / 0.74 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002034/0.6487, allocations: 30.73 kB / 0.74 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.6487, allocations: 51.41 kB / 0.74 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.333e-05/0.6488, allocations: 89.03 kB / 0.7401 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6488, allocations: 29.58 kB / 0.7401 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.6488, allocations: 84.02 kB / 0.7402 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.6489, allocations: 1.359 kB / 0.7402 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.6489, allocations: 0 / 0.7402 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.649, allocations: 314.8 kB / 0.7405 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-06/0.649, allocations: 0 / 0.7405 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.649, allocations: 7.875 kB / 0.7405 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.264e-05/0.6491, allocations: 5.375 kB / 0.7405 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6491, allocations: 3.938 kB / 0.7405 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.621e-05/0.6492, allocations: 30.42 kB / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.6492, allocations: 7.688 kB / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.6492, allocations: 0.5625 kB / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6492, allocations: 0 / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.853e-05/0.6493, allocations: 0.9844 kB / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6493, allocations: 3.844 kB / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.111e-05/0.6493, allocations: 0 / 0.7406 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.6493, allocations: 0 / 0.7406 GB, free: 25.27 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 (1): * Single equations (assignments): 1 * 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.599e-05/0.6494, allocations: 113.8 kB / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.6494, allocations: 0 / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.6495, allocations: 45.59 kB / 0.7407 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6496, allocations: 0 / 0.7407 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6496, allocations: 0 / 0.7407 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6496, allocations: 0 / 0.7407 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.855e-05/0.6497, allocations: 127.5 kB / 0.7409 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6497, allocations: 9.531 kB / 0.7409 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.6497, allocations: 3.781 kB / 0.7409 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6497, allocations: 0 / 0.7409 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.6497, allocations: 0 / 0.7409 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6497, allocations: 0 / 0.7409 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6497, allocations: 0 / 0.7409 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.127e-05/0.6498, allocations: 59.56 kB / 0.7409 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.447e-05/0.6499, allocations: 81.02 kB / 0.741 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.6499, allocations: 4.031 kB / 0.741 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-06/0.6499, allocations: 1.453 kB / 0.741 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.65, allocations: 3.875 kB / 0.741 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.65, allocations: 0 / 0.741 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.643e-05/0.65, allocations: 75.28 kB / 0.7411 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002361/0.6503, allocations: 13.23 kB / 0.7411 GB, free: 24.7 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 (1): * Single equations (assignments): 1 * 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.000181/0.6504, allocations: 115.5 kB / 0.7412 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.334e-05/0.6505, allocations: 7.781 kB / 0.7412 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6505, allocations: 0 / 0.7412 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.6505, allocations: 0 / 0.7412 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.584e-05/0.6506, allocations: 12.34 kB / 0.7412 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001666/0.6508, allocations: 38.58 kB / 0.7413 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.6511, allocations: 0.683 MB / 0.7419 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.6511, allocations: 0 / 0.7419 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.002336/0.6535, allocations: 446.4 kB / 0.7424 GB, free: 23.78 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)