Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 110.3 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 194.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8126/0.8126, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 68.14 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4446, allocations: 80.19 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002007/0.4466, allocations: 0.5776 MB / 0.5821 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.447, allocations: 98.11 kB / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.286e-05/0.447, allocations: 0.7812 kB / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.447, allocations: 0 / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.948e-05/0.4471, allocations: 1.094 kB / 0.5822 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.4473, allocations: 18.92 kB / 0.5822 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.4474, allocations: 8.125 kB / 0.5822 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.4474, allocations: 1.688 kB / 0.5822 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.4475, allocations: 6.109 kB / 0.5822 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.4475, allocations: 12.02 kB / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.4476, allocations: 0 / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.941e-05/0.4476, allocations: 10.64 kB / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.4476, allocations: 6.812 kB / 0.5822 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.4477, allocations: 5.375 kB / 0.5822 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.851e-05/0.4478, allocations: 9.891 kB / 0.5823 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4478, allocations: 0 / 0.5823 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4478, allocations: 0.6562 kB / 0.5823 GB, free: 27.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.4478, allocations: 0 / 0.5823 GB, free: 27.1 MB / 446.1 MB 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.0002885/0.4481, allocations: 323.7 kB / 0.5826 GB, free: 26.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4481, allocations: 9.25 kB / 0.5826 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4483, allocations: 14.7 kB / 0.5826 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.201e-05/0.4484, allocations: 165.8 kB / 0.5827 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.4484, allocations: 384 / 0.5827 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.4484, allocations: 2.531 kB / 0.5827 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4485, allocations: 46.02 kB / 0.5828 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4485, allocations: 192 / 0.5828 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4485, allocations: 3.938 kB / 0.5828 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4486, allocations: 0 / 0.5828 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.4486, allocations: 19.72 kB / 0.5828 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.4488, allocations: 149.7 kB / 0.583 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.4489, allocations: 51.12 kB / 0.583 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.449, allocations: 9.359 kB / 0.583 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.449, allocations: 2.344 kB / 0.583 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.449, allocations: 36.19 kB / 0.583 GB, free: 26.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.449, allocations: 5.406 kB / 0.5831 GB, free: 26.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001951/0.4492, allocations: 60.42 kB / 0.5831 GB, free: 26.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.4492, allocations: 55.66 kB / 0.5832 GB, free: 26.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.586e-05/0.4493, allocations: 89.86 kB / 0.5832 GB, free: 25.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.4493, allocations: 29.64 kB / 0.5833 GB, free: 25.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.538e-06/0.4493, allocations: 80.14 kB / 0.5834 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.4493, allocations: 10.72 kB / 0.5834 GB, free: 25.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.4494, allocations: 16.84 kB / 0.5834 GB, free: 25.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.255e-05/0.4494, allocations: 313.7 kB / 0.5837 GB, free: 25.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.837e-05/0.4495, allocations: 11.3 kB / 0.5837 GB, free: 25.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.4495, allocations: 8.125 kB / 0.5837 GB, free: 25.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.729e-05/0.4496, allocations: 24.75 kB / 0.5837 GB, free: 25.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4496, allocations: 0 / 0.5837 GB, free: 25.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.627e-05/0.4497, allocations: 46.09 kB / 0.5838 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4497, allocations: 5.312 kB / 0.5838 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4497, allocations: 0 / 0.5838 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4497, allocations: 5.75 kB / 0.5838 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.4501, allocations: 49.23 kB / 0.5838 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00095/0.451, allocations: 1.404 MB / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.701e-05/0.4511, allocations: 1.062 kB / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.4511, allocations: 1.812 kB / 0.5852 GB, free: 23.95 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.4511, allocations: 117.3 kB / 0.5853 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.4512, allocations: 1.062 kB / 0.5853 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.4512, allocations: 8.312 kB / 0.5853 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.4512, allocations: 0 / 0.5853 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.4512, allocations: 1.062 kB / 0.5853 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4512, allocations: 1.281 kB / 0.5853 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.546e-05/0.4513, allocations: 153.1 kB / 0.5855 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4513, allocations: 0 / 0.5855 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.4516, allocations: 49.2 kB / 0.5855 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4516, allocations: 3.188 kB / 0.5855 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.4516, allocations: 4 kB / 0.5855 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007973/0.4524, allocations: 1.412 MB / 0.5869 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4524, allocations: 0 / 0.5869 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.4525, allocations: 68.66 kB / 0.587 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.4526, allocations: 86.06 kB / 0.587 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.4526, allocations: 13.86 kB / 0.5871 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.4526, allocations: 5.75 kB / 0.5871 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.4526, allocations: 5.875 kB / 0.5871 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.4527, allocations: 1.5 kB / 0.5871 GB, free: 21.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.213e-05/0.4527, allocations: 76.94 kB / 0.5871 GB, free: 21.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4527, allocations: 3.938 kB / 0.5871 GB, free: 21.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.4529, allocations: 3.625 kB / 0.5872 GB, free: 21.85 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.453, allocations: 101.7 kB / 0.5872 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004248/0.4534, allocations: 62.56 kB / 0.5873 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4534, allocations: 1.344 kB / 0.5873 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.4537, allocations: 35.86 kB / 0.5873 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.4538, allocations: 7.125 kB / 0.5874 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.4541, allocations: 96.06 kB / 0.5874 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.4543, allocations: 0.6808 MB / 0.5881 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.059e-05/0.4543, allocations: 7.516 kB / 0.5881 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.4543, allocations: 8.719 kB / 0.5881 GB, free: 20.9 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.4543, allocations: 1.406 kB / 0.5881 GB, free: 20.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002401/0.4567, allocations: 412.4 kB / 0.5885 GB, free: 20.7 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)