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.001032/0.001032, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001335/0.001335, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.986/1.986, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4457/0.4457, allocations: 55.02 MB / 325.4 MB, free: 0.7148 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.000524/0.0005244, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3947, allocations: 60.72 MB / 457.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.001337/0.3961, allocations: 1.124 MB / 458.5 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006062/0.3968, allocations: 344.4 kB / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.271e-05/0.3968, allocations: 0 / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.3968, allocations: 0 / 458.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.3969, allocations: 4.625 kB / 458.8 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3972, allocations: 77.81 kB / 458.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.3973, allocations: 24.03 kB / 458.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.856e-05/0.3974, allocations: 3.281 kB / 458.9 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.3974, allocations: 9.875 kB / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.723e-05/0.3974, allocations: 12.98 kB / 459 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3975, allocations: 0 / 459 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002786/0.3978, allocations: 265 kB / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3978, allocations: 11.84 kB / 459.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3978, allocations: 25.7 kB / 459.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3979, allocations: 67.94 kB / 459.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3979, allocations: 0.75 kB / 459.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3979, allocations: 0 / 459.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.398, allocations: 1.594 kB / 459.3 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.0003681/0.3983, allocations: 360.7 kB / 459.7 MB, free: 37.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3984, allocations: 11.78 kB / 459.7 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.3985, allocations: 7.531 kB / 459.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3986, allocations: 169.7 kB / 459.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3986, allocations: 0.9688 kB / 459.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3986, allocations: 2.719 kB / 459.9 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3988, allocations: 64.2 kB / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3988, allocations: 0 / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.3989, allocations: 0 / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3989, allocations: 0.75 kB / 459.9 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.399, allocations: 45.94 kB / 460 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.3994, allocations: 255.2 kB / 460.2 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.3995, allocations: 43.47 kB / 460.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.49e-05/0.3996, allocations: 34.16 kB / 460.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/0.4001, allocations: 459.8 kB / 460.7 MB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.4001, allocations: 34.34 kB / 460.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4001, allocations: 1.344 kB / 460.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003438/0.4005, allocations: 107.4 kB / 460.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.4005, allocations: 51.41 kB / 460.9 MB, free: 36.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.4006, allocations: 101.5 kB / 461 MB, free: 36.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.4006, allocations: 29.64 kB / 461.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/0.4006, allocations: 86.73 kB / 461.1 MB, free: 36.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.4006, allocations: 0.5938 kB / 461.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4006, allocations: 0 / 461.2 MB, free: 36.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.4007, allocations: 318.2 kB / 461.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.4008, allocations: 26.94 kB / 461.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.4008, allocations: 22.52 kB / 461.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.4009, allocations: 25.73 kB / 461.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4009, allocations: 1.156 kB / 461.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.4011, allocations: 79.11 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.4011, allocations: 6.031 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.4011, allocations: 2.25 kB / 461.6 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.4011, allocations: 6.859 kB / 461.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.4012, allocations: 12.2 kB / 461.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.4012, allocations: 0 / 461.6 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.4013, allocations: 13.88 kB / 461.7 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4013, allocations: 0 / 461.7 MB, free: 36.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.4014, allocations: 111.7 kB / 461.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.4014, allocations: 2.5 kB / 461.8 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.4016, allocations: 92.67 kB / 461.9 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4016, allocations: 3.938 kB / 461.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4016, allocations: 3.953 kB / 461.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4016, allocations: 0 / 461.9 MB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.4018, allocations: 158.2 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4018, allocations: 0 / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.4018, allocations: 12.7 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4018, allocations: 0 / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4018, allocations: 6 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4018, allocations: 4.031 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4018, allocations: 3.219 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.4021, allocations: 184.3 kB / 462.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.4021, allocations: 80.66 kB / 462.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.4021, allocations: 0 / 462.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.4022, allocations: 10.75 kB / 462.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.4022, allocations: 0 / 462.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.4022, allocations: 0 / 462.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.4022, allocations: 90.67 kB / 462.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4023, allocations: 0 / 462.4 MB, free: 35.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.4025, allocations: 19.81 kB / 462.4 MB, free: 35.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001337/0.4026, allocations: 115 kB / 462.5 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.4028, allocations: 45.2 kB / 462.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4028, allocations: 0 / 462.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.4029, allocations: 33.59 kB / 462.6 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.4032, allocations: 3.234 kB / 462.6 MB, free: 35.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.4035, allocations: 115.9 kB / 462.7 MB, free: 35.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.4036, allocations: 0.6797 MB / 463.4 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.4036, allocations: 6.719 kB / 463.4 MB, free: 34.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.4036, allocations: 7.438 kB / 463.4 MB, free: 34.49 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4036, allocations: 0 / 463.4 MB, free: 34.49 MB / 382.1 MB Notification: Performance of Templates: time 0.002741/0.4064, allocations: 0.6199 MB / 464 MB, free: 34.46 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: