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.001717/0.001717, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001463, allocations: 194 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4033/0.4033, allocations: 54.94 MB / 324.7 MB, free: 15.99 MB / 270.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.001421/0.001421, allocations: 67.91 kB / 395.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1629, allocations: 59.6 MB / 454.9 MB, free: 192 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.2697/0.4327, allocations: 1.393 MB / 456.3 MB, free: 39.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003097/0.4331, allocations: 68.55 kB / 456.4 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.4331, allocations: 2.688 kB / 456.4 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.4332, allocations: 6.828 kB / 456.4 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.089e-05/0.4333, allocations: 7.547 kB / 456.4 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002154/0.4335, allocations: 14.52 kB / 456.4 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.4336, allocations: 26.19 kB / 456.4 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.4337, allocations: 13.56 kB / 456.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.53e-05/0.4338, allocations: 5.203 kB / 456.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.4338, allocations: 13.91 kB / 456.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.4338, allocations: 2.656 kB / 456.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.4339, allocations: 20.17 kB / 456.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.4339, allocations: 3.938 kB / 456.5 MB, free: 39.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.434, allocations: 15.53 kB / 456.5 MB, free: 39.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.4341, allocations: 36.5 kB / 456.6 MB, free: 39.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4341, allocations: 2.625 kB / 456.6 MB, free: 39.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4341, allocations: 0 / 456.6 MB, free: 39.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.4341, allocations: 0 / 456.6 MB, free: 39.73 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.0004919/0.4346, allocations: 336.4 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4347, allocations: 11 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.4349, allocations: 15.44 kB / 456.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.435, allocations: 170.6 kB / 457.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.435, allocations: 384 / 457.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.4351, allocations: 2.016 kB / 457.1 MB, free: 39.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.4353, allocations: 67.91 kB / 457.1 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4353, allocations: 0.6562 kB / 457.1 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4353, allocations: 0.8125 kB / 457.1 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4353, allocations: 6.25 kB / 457.2 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.4355, allocations: 46.34 kB / 457.2 MB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.4359, allocations: 270.7 kB / 457.5 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.4361, allocations: 54.84 kB / 457.5 MB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4362, allocations: 33.97 kB / 457.6 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4362, allocations: 1.312 kB / 457.6 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.4362, allocations: 33.7 kB / 457.6 MB, free: 38.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.4363, allocations: 0.5625 kB / 457.6 MB, free: 38.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004182/0.4367, allocations: 104.5 kB / 457.7 MB, free: 38.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.4367, allocations: 52.41 kB / 457.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.4368, allocations: 103.3 kB / 457.8 MB, free: 38.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.4368, allocations: 31.3 kB / 457.9 MB, free: 38.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.4368, allocations: 87.31 kB / 458 MB, free: 38.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.4369, allocations: 3.906 kB / 458 MB, free: 38.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.4369, allocations: 12.31 kB / 458 MB, free: 38.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.437, allocations: 325.5 kB / 458.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4371, allocations: 24.84 kB / 458.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.899e-05/0.4372, allocations: 20.64 kB / 458.3 MB, free: 38.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.4374, allocations: 57.95 kB / 458.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4374, allocations: 0 / 458.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002176/0.4376, allocations: 79.97 kB / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4376, allocations: 5.812 kB / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4376, allocations: 0 / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4377, allocations: 0 / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4378, allocations: 14.94 kB / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.4378, allocations: 0 / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.4378, allocations: 9.656 kB / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.4379, allocations: 0.8125 kB / 458.5 MB, free: 38.13 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.74e-05/0.4379, allocations: 117 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.4379, allocations: 8.922 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.438, allocations: 4.938 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.438, allocations: 3.188 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.438, allocations: 0 / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.438, allocations: 0.8125 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.4381, allocations: 170.3 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4381, allocations: 5.484 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.4382, allocations: 12.47 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4382, allocations: 5.188 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4382, allocations: 1.531 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4383, allocations: 0 / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4383, allocations: 0 / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.4385, allocations: 183.4 kB / 459 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.4386, allocations: 79.98 kB / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4386, allocations: 0 / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.4387, allocations: 8.562 kB / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4387, allocations: 0 / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.4387, allocations: 1.375 kB / 459.1 MB, free: 37.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.052e-05/0.4388, allocations: 87.44 kB / 459.2 MB, free: 37.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4388, allocations: 0.8438 kB / 459.2 MB, free: 37.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002085/0.439, allocations: 3.844 kB / 459.2 MB, free: 37.51 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.734e-05/0.4391, allocations: 99.94 kB / 459.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.4393, allocations: 57.41 kB / 459.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4393, allocations: 0 / 459.3 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.4395, allocations: 25.28 kB / 459.4 MB, free: 37.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.4398, allocations: 18.91 kB / 459.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.4401, allocations: 128.1 kB / 459.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.4402, allocations: 0.678 MB / 460.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.094e-05/0.4403, allocations: 0 / 460.2 MB, free: 36.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.4403, allocations: 9.25 kB / 460.2 MB, free: 36.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4403, allocations: 0 / 460.2 MB, free: 36.61 MB / 382.1 MB Notification: Performance of Templates: time 0.00259/0.4429, allocations: 0.5736 MB / 460.8 MB, free: 36.59 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)