Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001133/0.001133, allocations: 194.1 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.1 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3938/0.3938, allocations: 54.92 MB / 324.4 MB, free: 152 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 67.91 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1649, allocations: 59.58 MB / 454.4 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.2818/0.4468, allocations: 1.481 MB / 455.9 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003941/0.4473, allocations: 68.77 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.4474, allocations: 0 / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.82e-05/0.4476, allocations: 4.047 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.4477, allocations: 4.5 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.4481, allocations: 15.98 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.4482, allocations: 23.73 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.4484, allocations: 9.438 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.4485, allocations: 16.2 kB / 456 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.4486, allocations: 10.42 kB / 456.1 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.4486, allocations: 3.625 kB / 456.1 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.96e-05/0.4487, allocations: 19.39 kB / 456.1 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.4487, allocations: 2.375 kB / 456.1 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.4488, allocations: 12.44 kB / 456.1 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.4489, allocations: 39.66 kB / 456.1 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.449, allocations: 2.781 kB / 456.1 MB, free: 39.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.449, allocations: 0 / 456.1 MB, free: 39.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.449, allocations: 0 / 456.1 MB, free: 39.02 MB / 382.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.0006106/0.4496, allocations: 337.8 kB / 456.5 MB, free: 38.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.4497, allocations: 9.719 kB / 456.5 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.4499, allocations: 13.56 kB / 456.5 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.45, allocations: 173 kB / 456.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.45, allocations: 4.781 kB / 456.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.4501, allocations: 3.469 kB / 456.7 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4503, allocations: 60.5 kB / 456.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.4503, allocations: 1.438 kB / 456.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4503, allocations: 0 / 456.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4503, allocations: 5.656 kB / 456.7 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.4505, allocations: 49.31 kB / 456.8 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.451, allocations: 268.1 kB / 457 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.4511, allocations: 50.64 kB / 457.1 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4512, allocations: 34.69 kB / 457.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.4513, allocations: 1.594 kB / 457.1 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.4513, allocations: 33.09 kB / 457.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4513, allocations: 2.969 kB / 457.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000404/0.4517, allocations: 103.1 kB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4518, allocations: 51.41 kB / 457.3 MB, free: 38.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.4518, allocations: 101.6 kB / 457.4 MB, free: 37.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.4519, allocations: 34.73 kB / 457.4 MB, free: 37.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.4519, allocations: 82.7 kB / 457.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.4519, allocations: 7.844 kB / 457.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.452, allocations: 14.12 kB / 457.5 MB, free: 37.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.4521, allocations: 319.1 kB / 457.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.4522, allocations: 23.48 kB / 457.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.4523, allocations: 25.7 kB / 457.9 MB, free: 37.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4524, allocations: 57.06 kB / 458 MB, free: 37.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4524, allocations: 0 / 458 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000207/0.4527, allocations: 82.02 kB / 458 MB, free: 37.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4527, allocations: 8.484 kB / 458 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4527, allocations: 0 / 458 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4527, allocations: 2.594 kB / 458.1 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4528, allocations: 9.219 kB / 458.1 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4529, allocations: 3.844 kB / 458.1 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.4529, allocations: 6.328 kB / 458.1 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.4529, allocations: 3.594 kB / 458.1 MB, free: 37.42 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.925e-05/0.453, allocations: 113.7 kB / 458.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.4531, allocations: 7 kB / 458.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.4531, allocations: 5.125 kB / 458.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4531, allocations: 3.328 kB / 458.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4531, allocations: 5.156 kB / 458.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4531, allocations: 0 / 458.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.4533, allocations: 166.4 kB / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4533, allocations: 0 / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.107e-05/0.4534, allocations: 14.72 kB / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4534, allocations: 0 / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.4534, allocations: 1.781 kB / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4534, allocations: 3.375 kB / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4534, allocations: 2.875 kB / 458.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.4536, allocations: 177 kB / 458.6 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.4537, allocations: 80.95 kB / 458.6 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.4537, allocations: 4.734 kB / 458.6 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.4538, allocations: 6.906 kB / 458.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4538, allocations: 6.344 kB / 458.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.4538, allocations: 0.875 kB / 458.7 MB, free: 36.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.774e-05/0.4539, allocations: 89.25 kB / 458.7 MB, free: 36.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4539, allocations: 1.312 kB / 458.7 MB, free: 36.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.4541, allocations: 5.562 kB / 458.8 MB, free: 36.8 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.725e-05/0.4542, allocations: 101.2 kB / 458.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.4544, allocations: 48.12 kB / 458.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4544, allocations: 0 / 458.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.4545, allocations: 28.34 kB / 458.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4548, allocations: 11.22 kB / 458.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.4552, allocations: 130.9 kB / 459.1 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4553, allocations: 0.6779 MB / 459.7 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.435e-05/0.4553, allocations: 0.5625 kB / 459.7 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.4554, allocations: 11.5 kB / 459.8 MB, free: 35.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4554, allocations: 7.062 kB / 459.8 MB, free: 35.9 MB / 382.1 MB Notification: Performance of Templates: time 0.002812/0.4582, allocations: 0.5194 MB / 460.3 MB, free: 35.88 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)