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.001092/0.001092, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001279/0.001279, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.542/1.542, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4283/0.4283, allocations: 54.92 MB / 324.4 MB, free: 84 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.001591/0.001591, allocations: 67.91 kB / 394.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1547, allocations: 59.59 MB / 454.5 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.2766/0.4313, allocations: 1.473 MB / 456 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.4321, allocations: 366.5 kB / 456.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.4322, allocations: 0 / 456.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.752e-05/0.4323, allocations: 2.938 kB / 456.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.4324, allocations: 2.719 kB / 456.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.4329, allocations: 95.8 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.643e-05/0.4329, allocations: 26.42 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4331, allocations: 3.312 kB / 456.4 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.811e-05/0.4331, allocations: 9.734 kB / 456.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.4332, allocations: 14.36 kB / 456.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.4332, allocations: 2.656 kB / 456.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.4336, allocations: 275.8 kB / 456.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.475e-05/0.4336, allocations: 7.672 kB / 456.8 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.4337, allocations: 14.62 kB / 456.8 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.4339, allocations: 98.41 kB / 456.9 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4339, allocations: 2.75 kB / 456.9 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4339, allocations: 0 / 456.9 MB, free: 38.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4339, allocations: 1.281 kB / 456.9 MB, free: 38.58 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.0004449/0.4344, allocations: 369.2 kB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.4344, allocations: 8.281 kB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.4345, allocations: 5.688 kB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.4346, allocations: 165.7 kB / 457.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4346, allocations: 9.688 kB / 457.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.4346, allocations: 384 / 457.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.4348, allocations: 53.75 kB / 457.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.4348, allocations: 0.8438 kB / 457.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4349, allocations: 0.6875 kB / 457.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.4349, allocations: 0 / 457.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.435, allocations: 43.5 kB / 457.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.4354, allocations: 256.4 kB / 457.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4355, allocations: 36.17 kB / 457.8 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.073e-05/0.4356, allocations: 25.08 kB / 457.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/0.4362, allocations: 458 kB / 458.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.4362, allocations: 33.88 kB / 458.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.4362, allocations: 0.8125 kB / 458.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003687/0.4366, allocations: 87.25 kB / 458.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.4366, allocations: 51.41 kB / 458.4 MB, free: 37.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.4367, allocations: 102 kB / 458.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.4367, allocations: 27.8 kB / 458.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.4367, allocations: 94.11 kB / 458.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.4367, allocations: 3.906 kB / 458.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.4368, allocations: 16.97 kB / 458.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.4368, allocations: 318.4 kB / 459 MB, free: 36.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.4369, allocations: 19.97 kB / 459 MB, free: 36.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.437, allocations: 17.16 kB / 459 MB, free: 36.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.4371, allocations: 43.98 kB / 459.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4372, allocations: 0.7188 kB / 459.1 MB, free: 36.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001733/0.4373, allocations: 64.7 kB / 459.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4374, allocations: 6.5 kB / 459.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4374, allocations: 0 / 459.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4374, allocations: 1.562 kB / 459.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.4375, allocations: 12.45 kB / 459.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4375, allocations: 0 / 459.1 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.4375, allocations: 5.922 kB / 459.2 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.4375, allocations: 0.9375 kB / 459.2 MB, free: 36.49 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.477e-05/0.4376, allocations: 119.6 kB / 459.3 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.4376, allocations: 7.875 kB / 459.3 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.4379, allocations: 75.69 kB / 459.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4379, allocations: 1.172 kB / 459.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4379, allocations: 0.8125 kB / 459.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4379, allocations: 0.8125 kB / 459.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.438, allocations: 165.8 kB / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.438, allocations: 5.625 kB / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.4381, allocations: 9.344 kB / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4381, allocations: 4.812 kB / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4381, allocations: 0 / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4381, allocations: 1.219 kB / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4381, allocations: 1.594 kB / 459.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.4383, allocations: 165.5 kB / 459.7 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.4384, allocations: 84.23 kB / 459.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.4384, allocations: 0.6875 kB / 459.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.4384, allocations: 6.078 kB / 459.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.4385, allocations: 7.219 kB / 459.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4385, allocations: 0 / 459.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.483e-05/0.4385, allocations: 86.83 kB / 459.9 MB, free: 35.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4385, allocations: 2.906 kB / 459.9 MB, free: 35.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.4388, allocations: 14.44 kB / 459.9 MB, free: 35.84 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.000149/0.4389, allocations: 110.8 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.4391, allocations: 35.52 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4391, allocations: 3.625 kB / 460 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.4392, allocations: 25.08 kB / 460.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.4395, allocations: 8.406 kB / 460.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.4398, allocations: 111.5 kB / 460.2 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.44, allocations: 0.6817 MB / 460.9 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.515e-05/0.44, allocations: 2.656 kB / 460.9 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.44, allocations: 11.31 kB / 460.9 MB, free: 34.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.44, allocations: 2.812 kB / 460.9 MB, free: 34.93 MB / 382.1 MB Notification: Performance of Templates: time 0.002987/0.443, allocations: 0.6534 MB / 461.5 MB, free: 34.9 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile (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)