Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [: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.001747/0.001747, allocations: 186.5 kB / 7.46 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5826/0.5826, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.125/1.125, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008468/0.0008467, allocations: 101.7 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.734e-06/7.755e-06, allocations: 2.719 kB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 82.31 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/0.448, allocations: 109.8 MB / 0.7405 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000163/0.4482, allocations: 77.88 kB / 0.7405 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001874/0.4501, allocations: 0.6319 MB / 0.7411 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.4501, allocations: 0 / 0.7411 GB, free: 10.81 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.0002194/0.4503, allocations: 312.9 kB / 0.7414 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4504, allocations: 7.688 kB / 0.7414 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.4504, allocations: 8.5 kB / 0.7415 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.538e-05/0.4505, allocations: 163.8 kB / 0.7416 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.4505, allocations: 7.812 kB / 0.7416 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.4506, allocations: 2.594 kB / 0.7416 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.14e-05/0.4506, allocations: 8.359 kB / 0.7416 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.178e-05/0.4507, allocations: 32.48 kB / 0.7417 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.4507, allocations: 0 / 0.7417 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.4507, allocations: 0 / 0.7417 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.4507, allocations: 0 / 0.7417 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.4508, allocations: 139.4 kB / 0.7418 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.97e-05/0.4509, allocations: 35.3 kB / 0.7418 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.4509, allocations: 11.88 kB / 0.7418 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/0.4512, allocations: 404.2 kB / 0.7422 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.4513, allocations: 30.56 kB / 0.7423 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4513, allocations: 3.812 kB / 0.7423 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001356/0.4514, allocations: 40.53 kB / 0.7423 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.4515, allocations: 59.34 kB / 0.7424 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.452e-05/0.4515, allocations: 85 kB / 0.7424 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.4515, allocations: 25.7 kB / 0.7425 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.4515, allocations: 80.89 kB / 0.7425 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.4516, allocations: 12.45 kB / 0.7425 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.4516, allocations: 0 / 0.7425 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.4517, allocations: 315.4 kB / 0.7428 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.4517, allocations: 0 / 0.7428 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.4517, allocations: 8.469 kB / 0.7429 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.4517, allocations: 12.52 kB / 0.7429 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4517, allocations: 0 / 0.7429 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.542e-05/0.4518, allocations: 40.14 kB / 0.7429 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.4518, allocations: 8.547 kB / 0.7429 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.4518, allocations: 0 / 0.7429 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.4519, allocations: 0 / 0.7429 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.452, allocations: 9.844 kB / 0.7429 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003267/0.4523, allocations: 0.5902 MB / 0.7435 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.4523, allocations: 4.641 kB / 0.7435 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-06/0.4523, allocations: 0 / 0.7435 GB, free: 24.25 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.4524, allocations: 109.5 kB / 0.7436 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.4524, allocations: 0 / 0.7436 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.4525, allocations: 54.95 kB / 0.7437 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.4525, allocations: 0 / 0.7437 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4526, allocations: 4.844 kB / 0.7437 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4526, allocations: 0 / 0.7437 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.185e-05/0.4526, allocations: 132.2 kB / 0.7438 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4526, allocations: 0 / 0.7438 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.4527, allocations: 10.14 kB / 0.7438 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4527, allocations: 0 / 0.7438 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.4527, allocations: 3.188 kB / 0.7438 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002773/0.453, allocations: 0.595 MB / 0.7444 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.453, allocations: 0 / 0.7444 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.542e-05/0.4531, allocations: 64.66 kB / 0.7444 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.4531, allocations: 77.11 kB / 0.7445 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.4532, allocations: 4.609 kB / 0.7445 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.4532, allocations: 0 / 0.7445 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.4532, allocations: 9.172 kB / 0.7445 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.4532, allocations: 4 kB / 0.7445 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.205e-05/0.4532, allocations: 79.38 kB / 0.7446 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001609/0.4534, allocations: 4.422 kB / 0.7446 GB, free: 23.09 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001181/0.4535, allocations: 109.4 kB / 0.7447 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.4537, allocations: 26.08 kB / 0.7447 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4537, allocations: 0 / 0.7447 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.327e-05/0.4538, allocations: 18.05 kB / 0.7448 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.421e-05/0.4539, allocations: 4 kB / 0.7448 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001408/0.454, allocations: 54.05 kB / 0.7448 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.4542, allocations: 0.687 MB / 0.7455 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.4542, allocations: 3.938 kB / 0.7455 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of Templates: time 0.002012/0.4563, allocations: 0.5233 MB / 0.746 GB, free: 22.16 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)