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.0009226/0.0009227, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001138/0.001138, allocations: 172.7 kB / 15.95 MB, free: 208 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.827/1.827, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4129/0.4129, allocations: 55.01 MB / 325.4 MB, free: 0.6992 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.0006391/0.0006394, allocations: 12 kB / 396.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4238, allocations: 60.73 MB / 457.4 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.001473/0.4253, allocations: 1.121 MB / 458.5 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002405/0.4256, allocations: 71.95 kB / 458.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.4256, allocations: 0 / 458.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.4257, allocations: 4.938 kB / 458.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.4257, allocations: 2.969 kB / 458.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.4259, allocations: 13.39 kB / 458.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.426, allocations: 21.75 kB / 458.6 MB, free: 38.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.4261, allocations: 8.094 kB / 458.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.4261, allocations: 6.812 kB / 458.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.82e-05/0.4262, allocations: 14.28 kB / 458.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.4262, allocations: 0 / 458.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.4263, allocations: 14.72 kB / 458.6 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.4263, allocations: 7.672 kB / 458.7 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.4263, allocations: 28.92 kB / 458.7 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.268e-05/0.4264, allocations: 21.77 kB / 458.7 MB, free: 38.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.4264, allocations: 0 / 458.7 MB, free: 38.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4264, allocations: 0 / 458.7 MB, free: 38.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4264, allocations: 1.031 kB / 458.7 MB, free: 38.92 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.0003798/0.4268, allocations: 343.6 kB / 459 MB, free: 38.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4268, allocations: 8.844 kB / 459 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.427, allocations: 18.14 kB / 459.1 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.4271, allocations: 179.7 kB / 459.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.4271, allocations: 2.391 kB / 459.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4271, allocations: 2.938 kB / 459.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.4273, allocations: 63.86 kB / 459.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4274, allocations: 0.9062 kB / 459.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.4274, allocations: 1.969 kB / 459.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4274, allocations: 0 / 459.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.4276, allocations: 59.92 kB / 459.4 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.428, allocations: 271.9 kB / 459.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4281, allocations: 63.38 kB / 459.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.4282, allocations: 37.08 kB / 459.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4282, allocations: 1.312 kB / 459.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.4283, allocations: 40.66 kB / 459.8 MB, free: 38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4283, allocations: 1.906 kB / 459.8 MB, free: 38 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003877/0.4287, allocations: 122.6 kB / 459.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.4287, allocations: 62.12 kB / 460 MB, free: 37.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.136e-05/0.4288, allocations: 107.1 kB / 460.1 MB, free: 37.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.4288, allocations: 25.7 kB / 460.1 MB, free: 37.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.4288, allocations: 86.95 kB / 460.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.4288, allocations: 0 / 460.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.4288, allocations: 3.938 kB / 460.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.4289, allocations: 314.2 kB / 460.5 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.429, allocations: 32.36 kB / 460.5 MB, free: 37.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.4291, allocations: 37.33 kB / 460.6 MB, free: 37.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.793e-05/0.4292, allocations: 31.59 kB / 460.6 MB, free: 37.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4292, allocations: 1.719 kB / 460.6 MB, free: 37.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.4294, allocations: 92.72 kB / 460.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.4294, allocations: 5.844 kB / 460.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.4294, allocations: 3.406 kB / 460.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4294, allocations: 4.562 kB / 460.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.4296, allocations: 22.7 kB / 460.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.4296, allocations: 0 / 460.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.4296, allocations: 12.12 kB / 460.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.4296, allocations: 0 / 460.7 MB, free: 37.33 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.48e-05/0.4297, allocations: 110.9 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.4297, allocations: 224 / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.4297, allocations: 15.64 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.4298, allocations: 1 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4298, allocations: 7.734 kB / 460.9 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4298, allocations: 0 / 460.9 MB, free: 37.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.4299, allocations: 159.3 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4299, allocations: 3.5 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.43, allocations: 14.36 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.43, allocations: 3.375 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.43, allocations: 6.719 kB / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.43, allocations: 0 / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.43, allocations: 0 / 461 MB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.4302, allocations: 202.2 kB / 461.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.4303, allocations: 77.11 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4303, allocations: 3.438 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.4304, allocations: 10.02 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.4304, allocations: 6.422 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.4304, allocations: 0 / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.591e-05/0.4305, allocations: 93.8 kB / 461.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4305, allocations: 0 / 461.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002041/0.4307, allocations: 3.281 kB / 461.4 MB, free: 36.7 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 7.824e-05/0.4308, allocations: 96.98 kB / 461.5 MB, free: 36.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.431, allocations: 67.72 kB / 461.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.431, allocations: 0 / 461.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.4311, allocations: 36.89 kB / 461.6 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.4314, allocations: 6.703 kB / 461.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.4317, allocations: 129.5 kB / 461.8 MB, free: 36.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4318, allocations: 0.6788 MB / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.4318, allocations: 8.156 kB / 462.4 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.4319, allocations: 12.56 kB / 462.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4319, allocations: 0 / 462.5 MB, free: 35.79 MB / 382.1 MB Notification: Performance of Templates: time 0.002395/0.4343, allocations: 499.4 kB / 462.9 MB, free: 35.77 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: