Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001905/0.001905, allocations: 180.5 kB / 7.459 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.5974/0.5974, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.126/1.126, allocations: 221.3 MB / 395 MB, free: 10.12 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.0008108/0.0008108, allocations: 98.23 kB / 477.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.845e-06/7.865e-06, allocations: 2.781 kB / 0.5529 GB, free: 89.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 82.31 MB / 0.6332 GB, free: 13.91 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4596, allocations: 110.4 MB / 0.741 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4598, allocations: 83.91 kB / 0.7411 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.009877/0.4697, allocations: 3.677 MB / 0.7447 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4698, allocations: 0 / 0.7447 GB, free: 10.45 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.000269/0.47, allocations: 338.5 kB / 0.745 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.4701, allocations: 7.688 kB / 0.745 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.4701, allocations: 0 / 0.745 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.329e-05/0.4702, allocations: 172.5 kB / 0.7452 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4702, allocations: 0 / 0.7452 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.4703, allocations: 3.938 kB / 0.7452 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.224e-05/0.4703, allocations: 3.562 kB / 0.7452 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.051e-05/0.4704, allocations: 29.52 kB / 0.7452 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4704, allocations: 1.453 kB / 0.7452 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.4704, allocations: 0 / 0.7452 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.4704, allocations: 4 kB / 0.7452 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001003/0.4705, allocations: 123.8 kB / 0.7454 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.276e-05/0.4706, allocations: 30.3 kB / 0.7454 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.4706, allocations: 4.859 kB / 0.7454 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.471, allocations: 423.7 kB / 0.7458 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.471, allocations: 30.56 kB / 0.7458 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.471, allocations: 4 kB / 0.7458 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.4712, allocations: 30.5 kB / 0.7459 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.4712, allocations: 51.41 kB / 0.7459 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.413e-05/0.4712, allocations: 85 kB / 0.746 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.4713, allocations: 29.64 kB / 0.746 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.195e-05/0.4713, allocations: 80.14 kB / 0.7461 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.4713, allocations: 0.8438 kB / 0.7461 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-06/0.4713, allocations: 3.875 kB / 0.7461 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.4714, allocations: 318.8 kB / 0.7464 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-06/0.4714, allocations: 0 / 0.7464 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.4714, allocations: 4.734 kB / 0.7464 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.4715, allocations: 3.969 kB / 0.7464 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4715, allocations: 0 / 0.7464 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.814e-05/0.4716, allocations: 34.75 kB / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4716, allocations: 5.516 kB / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4716, allocations: 0 / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4716, allocations: 3.812 kB / 0.7465 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.498e-05/0.4716, allocations: 8.078 kB / 0.7465 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.4716, allocations: 0 / 0.7465 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.4717, allocations: 0 / 0.7465 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.4717, allocations: 0 / 0.7465 GB, free: 24.46 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 5.255e-05/0.4717, allocations: 110.4 kB / 0.7466 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.4718, allocations: 0 / 0.7466 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/0.4718, allocations: 41.06 kB / 0.7466 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.4719, allocations: 4.031 kB / 0.7466 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4719, allocations: 5.188 kB / 0.7466 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4719, allocations: 0 / 0.7466 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.012e-05/0.4719, allocations: 127.4 kB / 0.7467 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4719, allocations: 0 / 0.7467 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-05/0.472, allocations: 0 / 0.7467 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.472, allocations: 4.984 kB / 0.7467 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.472, allocations: 3.938 kB / 0.7468 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.472, allocations: 0 / 0.7468 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.472, allocations: 0 / 0.7468 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.56e-05/0.4721, allocations: 63.2 kB / 0.7468 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.572e-05/0.4721, allocations: 81.02 kB / 0.7469 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.4721, allocations: 1.172 kB / 0.7469 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.4721, allocations: 4 kB / 0.7469 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.4721, allocations: 0 / 0.7469 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.4721, allocations: 3.938 kB / 0.7469 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.496e-05/0.4722, allocations: 76.5 kB / 0.747 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001876/0.4724, allocations: 15.5 kB / 0.747 GB, free: 23.9 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.0001526/0.4725, allocations: 122.6 kB / 0.7471 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 4.262e-05/0.4726, allocations: 0 / 0.7471 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4726, allocations: 3.812 kB / 0.7471 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.4726, allocations: 0 / 0.7471 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.386e-05/0.4727, allocations: 2.969 kB / 0.7471 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000112/0.4728, allocations: 48.52 kB / 0.7472 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.473, allocations: 0.6904 MB / 0.7478 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.473, allocations: 4 kB / 0.7478 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.001866/0.4749, allocations: 440.8 kB / 0.7483 GB, free: 22.97 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)