Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008377/0.008377, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.774/1.774, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4165/0.4165, allocations: 55.02 MB / 325.8 MB, free: 0.625 MB / 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.00055/0.0005501, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4394, allocations: 60.72 MB / 458 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.001498/0.4409, allocations: 1.135 MB / 459.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006899/0.4416, allocations: 388.2 kB / 459.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.4417, allocations: 0 / 459.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.4417, allocations: 0 / 459.5 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.4418, allocations: 4.594 kB / 459.5 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.4421, allocations: 75.11 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.4422, allocations: 23.75 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.795e-05/0.4423, allocations: 6.844 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.4423, allocations: 11.2 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.4424, allocations: 11.08 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4424, allocations: 3 kB / 459.6 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.4427, allocations: 267.3 kB / 459.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.4428, allocations: 16.62 kB / 459.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.4428, allocations: 36.11 kB / 459.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.443, allocations: 102.8 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.443, allocations: 0 / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.443, allocations: 0 / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.443, allocations: 0 / 460 MB, free: 38.16 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.0004105/0.4434, allocations: 365.9 kB / 460.4 MB, free: 37.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4435, allocations: 8.125 kB / 460.4 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.151e-05/0.4436, allocations: 9.531 kB / 460.4 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.4437, allocations: 174.8 kB / 460.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.4437, allocations: 1.031 kB / 460.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.4437, allocations: 1.969 kB / 460.6 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4439, allocations: 60.11 kB / 460.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4439, allocations: 0 / 460.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4439, allocations: 4.141 kB / 460.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.444, allocations: 0 / 460.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4441, allocations: 46.42 kB / 460.7 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.4445, allocations: 252.1 kB / 460.9 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4446, allocations: 48.25 kB / 461 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.4447, allocations: 30.78 kB / 461 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.4453, allocations: 460.6 kB / 461.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.4453, allocations: 37.78 kB / 461.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4453, allocations: 1.938 kB / 461.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004003/0.4457, allocations: 99 kB / 461.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.4458, allocations: 56 kB / 461.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.4458, allocations: 106 kB / 461.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.4459, allocations: 25.7 kB / 461.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.4459, allocations: 90.08 kB / 461.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.4459, allocations: 7.688 kB / 461.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.446, allocations: 12.81 kB / 461.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.195e-05/0.446, allocations: 316.6 kB / 462.2 MB, free: 36.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.4461, allocations: 22.56 kB / 462.2 MB, free: 36.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.242e-05/0.4462, allocations: 26.34 kB / 462.2 MB, free: 36.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4463, allocations: 47.23 kB / 462.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4463, allocations: 0 / 462.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.4465, allocations: 84.44 kB / 462.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4466, allocations: 5.719 kB / 462.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4466, allocations: 4.75 kB / 462.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4466, allocations: 3.625 kB / 462.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.4467, allocations: 11.8 kB / 462.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4467, allocations: 2.953 kB / 462.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.4468, allocations: 14.03 kB / 462.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4468, allocations: 0 / 462.4 MB, free: 36.05 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 6.437e-05/0.4468, allocations: 116.5 kB / 462.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.4469, allocations: 0 / 462.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.4471, allocations: 84.64 kB / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4471, allocations: 0 / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.4471, allocations: 4.641 kB / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4472, allocations: 1.469 kB / 462.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.4473, allocations: 164.4 kB / 462.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4473, allocations: 3.938 kB / 462.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.4474, allocations: 11.39 kB / 462.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4474, allocations: 4 kB / 462.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4474, allocations: 4.156 kB / 462.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4474, allocations: 0 / 462.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4474, allocations: 0 / 462.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.4476, allocations: 178.5 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.4477, allocations: 77.11 kB / 463 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.4477, allocations: 4.375 kB / 463.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.4477, allocations: 7.156 kB / 463.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.4478, allocations: 5.281 kB / 463.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4478, allocations: 0 / 463.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.4478, allocations: 88.92 kB / 463.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4478, allocations: 4.031 kB / 463.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002175/0.4481, allocations: 15.84 kB / 463.2 MB, free: 35.39 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.0001348/0.4482, allocations: 114.3 kB / 463.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.4484, allocations: 52.8 kB / 463.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4484, allocations: 0 / 463.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.4485, allocations: 20.69 kB / 463.4 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.4488, allocations: 12.97 kB / 463.4 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.449, allocations: 127.5 kB / 463.5 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.4492, allocations: 0.675 MB / 464.2 MB, free: 34.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.081e-05/0.4492, allocations: 3.125 kB / 464.2 MB, free: 34.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.4492, allocations: 7.438 kB / 464.2 MB, free: 34.47 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4492, allocations: 3.938 kB / 464.2 MB, free: 34.46 MB / 382.1 MB Notification: Performance of Templates: time 0.002687/0.4519, allocations: 0.6375 MB / 464.8 MB, free: 34.43 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: