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.00852/0.00852, allocations: 99.86 kB / 15.73 MB, free: 6.043 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.001515/0.001515, allocations: 185.5 kB / 16.67 MB, free: 5.977 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3895/0.3895, allocations: 54.95 MB / 324.8 MB, free: 48 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.001542/0.001542, allocations: 71.16 kB / 456.3 MB, free: 38.91 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1478, allocations: 59.59 MB / 0.5038 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.002772/0.1506, allocations: 1.396 MB / 0.5052 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000469/0.1511, allocations: 79.78 kB / 0.5052 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.1512, allocations: 1.156 kB / 0.5052 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.1512, allocations: 0 / 0.5052 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.1513, allocations: 5.094 kB / 0.5052 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1516, allocations: 16.45 kB / 0.5053 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1517, allocations: 29.83 kB / 0.5053 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.1519, allocations: 11.69 kB / 0.5053 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.1519, allocations: 7.484 kB / 0.5053 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.152, allocations: 11.62 kB / 0.5053 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.152, allocations: 5.094 kB / 0.5053 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.1521, allocations: 21.58 kB / 0.5053 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.1522, allocations: 11.97 kB / 0.5054 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.1522, allocations: 6.25 kB / 0.5054 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.1524, allocations: 37.48 kB / 0.5054 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.1524, allocations: 0 / 0.5054 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1524, allocations: 0 / 0.5054 GB, free: 8.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1524, allocations: 1.219 kB / 0.5054 GB, free: 8.629 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.0005775/0.153, allocations: 341.5 kB / 0.5057 GB, free: 8.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.153, allocations: 10.19 kB / 0.5057 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1533, allocations: 19.42 kB / 0.5058 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1534, allocations: 166.9 kB / 0.5059 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.137e-05/0.1534, allocations: 4.375 kB / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1535, allocations: 1.656 kB / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.1537, allocations: 62.28 kB / 0.506 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1537, allocations: 0 / 0.506 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1537, allocations: 0 / 0.506 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1537, allocations: 0 / 0.506 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.1539, allocations: 59.03 kB / 0.506 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.1543, allocations: 262.9 kB / 0.5063 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1545, allocations: 50.95 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1546, allocations: 34.33 kB / 0.5064 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1546, allocations: 1.562 kB / 0.5064 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/0.1546, allocations: 30.56 kB / 0.5064 GB, free: 7.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.1546, allocations: 0 / 0.5064 GB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003962/0.155, allocations: 104.7 kB / 0.5065 GB, free: 7.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.1551, allocations: 57.12 kB / 0.5066 GB, free: 7.438 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.1551, allocations: 104.1 kB / 0.5067 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1552, allocations: 25.7 kB / 0.5067 GB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.1552, allocations: 89.5 kB / 0.5068 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.618e-05/0.1552, allocations: 1.406 kB / 0.5068 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.1553, allocations: 16.09 kB / 0.5068 GB, free: 7.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.1553, allocations: 320.1 kB / 0.5071 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.775e-05/0.1554, allocations: 25.11 kB / 0.5071 GB, free: 6.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.1555, allocations: 24.62 kB / 0.5071 GB, free: 6.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1557, allocations: 54.66 kB / 0.5072 GB, free: 6.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1557, allocations: 1.375 kB / 0.5072 GB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002055/0.1559, allocations: 83.86 kB / 0.5073 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1559, allocations: 5.5 kB / 0.5073 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.156, allocations: 256 / 0.5073 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.156, allocations: 0 / 0.5073 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1561, allocations: 20.23 kB / 0.5073 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1561, allocations: 3.938 kB / 0.5073 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.24e-05/0.1562, allocations: 13.52 kB / 0.5073 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1562, allocations: 0 / 0.5073 GB, free: 6.734 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 5.78e-05/0.1562, allocations: 112.5 kB / 0.5074 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1563, allocations: 5.312 kB / 0.5074 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.1563, allocations: 7.531 kB / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1563, allocations: 1.375 kB / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1563, allocations: 0 / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1563, allocations: 0 / 0.5074 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.1565, allocations: 164.5 kB / 0.5076 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1565, allocations: 5.375 kB / 0.5076 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-05/0.1566, allocations: 14.8 kB / 0.5076 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1566, allocations: 0 / 0.5076 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.1566, allocations: 1.375 kB / 0.5076 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1566, allocations: 3.984 kB / 0.5076 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1566, allocations: 3.984 kB / 0.5076 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1568, allocations: 183 kB / 0.5078 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.1568, allocations: 82.42 kB / 0.5079 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1569, allocations: 0 / 0.5079 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.631e-05/0.157, allocations: 9.484 kB / 0.5079 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.157, allocations: 5.359 kB / 0.5079 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.157, allocations: 1.375 kB / 0.5079 GB, free: 6.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.509e-05/0.157, allocations: 83.41 kB / 0.508 GB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.157, allocations: 0 / 0.508 GB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.1573, allocations: 9.531 kB / 0.508 GB, free: 6.027 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 0.0001159/0.1574, allocations: 93 kB / 0.5081 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1576, allocations: 60.69 kB / 0.5081 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1577, allocations: 1.375 kB / 0.5081 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1578, allocations: 23.17 kB / 0.5081 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.1581, allocations: 12.8 kB / 0.5082 GB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.1584, allocations: 123.6 kB / 0.5083 GB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.1585, allocations: 0.6782 MB / 0.5089 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.836e-05/0.1586, allocations: 1.375 kB / 0.5089 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1586, allocations: 16.81 kB / 0.5089 GB, free: 5.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1586, allocations: 0 / 0.5089 GB, free: 5.059 MB / 382.1 MB Notification: Performance of Templates: time 0.002823/0.1614, allocations: 0.6019 MB / 0.5095 GB, free: 4.746 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)