Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") 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: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 197.2 kB / 16.14 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.524/1.524, allocations: 205.1 MB / 222 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4468/0.4468, allocations: 54.93 MB / 324.3 MB, free: 164 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.00129/0.00129, allocations: 64.47 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1393, allocations: 59.6 MB / 454.2 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.2017/0.341, allocations: 0.6091 MB / 454.9 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003086/0.3413, allocations: 90.44 kB / 454.9 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.343e-05/0.3414, allocations: 1.469 kB / 454.9 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.3414, allocations: 0 / 454.9 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.3415, allocations: 0 / 454.9 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.3416, allocations: 17.23 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.455e-05/0.3417, allocations: 5.562 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.48e-05/0.3417, allocations: 2.281 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.67e-05/0.3417, allocations: 5.438 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.3418, allocations: 11.11 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3418, allocations: 1.062 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.3419, allocations: 13.89 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.3419, allocations: 0 / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.3419, allocations: 8.469 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.612e-05/0.342, allocations: 16.23 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.342, allocations: 0.8125 kB / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.342, allocations: 0 / 455 MB, free: 39.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.342, allocations: 0 / 455 MB, free: 39.78 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.0002854/0.3423, allocations: 318.1 kB / 455.3 MB, free: 39.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3424, allocations: 8.375 kB / 455.3 MB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.3426, allocations: 9.984 kB / 455.4 MB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.027e-05/0.3426, allocations: 168.4 kB / 455.5 MB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3427, allocations: 3.562 kB / 455.5 MB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3427, allocations: 3.781 kB / 455.5 MB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.3428, allocations: 43.92 kB / 455.6 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3428, allocations: 7.422 kB / 455.6 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3428, allocations: 0 / 455.6 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3428, allocations: 0 / 455.6 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.3429, allocations: 16.69 kB / 455.6 MB, free: 39.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.3431, allocations: 147.8 kB / 455.7 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.3432, allocations: 46.05 kB / 455.8 MB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.3433, allocations: 15.92 kB / 455.8 MB, free: 38.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3433, allocations: 0 / 455.8 MB, free: 38.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.3433, allocations: 40.38 kB / 455.8 MB, free: 38.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3433, allocations: 0 / 455.8 MB, free: 38.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002144/0.3436, allocations: 59.27 kB / 455.9 MB, free: 38.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3436, allocations: 51.41 kB / 455.9 MB, free: 38.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.645e-05/0.3436, allocations: 91.11 kB / 456 MB, free: 38.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.3436, allocations: 29.02 kB / 456.1 MB, free: 38.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.3437, allocations: 80.95 kB / 456.1 MB, free: 38.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3437, allocations: 12.86 kB / 456.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.3437, allocations: 13.55 kB / 456.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.3438, allocations: 319 kB / 456.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.859e-05/0.3439, allocations: 5.281 kB / 456.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.3439, allocations: 6.922 kB / 456.5 MB, free: 38.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.68e-05/0.344, allocations: 19.72 kB / 456.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.344, allocations: 3.375 kB / 456.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.547e-05/0.3441, allocations: 47.55 kB / 456.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.3441, allocations: 15.3 kB / 456.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3441, allocations: 0.5156 kB / 456.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3442, allocations: 2.562 kB / 456.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.3446, allocations: 42.66 kB / 456.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009219/0.3455, allocations: 1.316 MB / 457.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.3455, allocations: 5.016 kB / 457.9 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3455, allocations: 0 / 457.9 MB, free: 36.95 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.3456, allocations: 122.8 kB / 458.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.3456, allocations: 1.406 kB / 458.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.3456, allocations: 3.5 kB / 458.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3456, allocations: 2.656 kB / 458.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.3456, allocations: 0 / 458.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3457, allocations: 0 / 458.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.61e-05/0.3457, allocations: 158.2 kB / 458.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3457, allocations: 0 / 458.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.3461, allocations: 56.8 kB / 458.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3461, allocations: 0 / 458.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3461, allocations: 0.5625 kB / 458.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007927/0.3469, allocations: 1.316 MB / 459.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3469, allocations: 0 / 459.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.968e-05/0.347, allocations: 76.81 kB / 459.7 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.347, allocations: 80.02 kB / 459.7 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-06/0.3471, allocations: 1.875 kB / 459.8 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.3471, allocations: 1.938 kB / 459.8 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/0.3471, allocations: 6.156 kB / 459.8 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3471, allocations: 0 / 459.8 MB, free: 35.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.343e-05/0.3471, allocations: 81.53 kB / 459.8 MB, free: 35.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3471, allocations: 3.406 kB / 459.8 MB, free: 35.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.3473, allocations: 6.031 kB / 459.8 MB, free: 35.07 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.514e-05/0.3474, allocations: 95.16 kB / 459.9 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3479, allocations: 62.3 kB / 460 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3479, allocations: 0.7188 kB / 460 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.3482, allocations: 41.22 kB / 460 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.3483, allocations: 6.25 kB / 460 MB, free: 34.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.3487, allocations: 101.5 kB / 460.1 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3488, allocations: 0.6768 MB / 460.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.459e-05/0.3488, allocations: 0 / 460.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.3489, allocations: 10.5 kB / 460.8 MB, free: 34.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3489, allocations: 0.9375 kB / 460.8 MB, free: 34.18 MB / 382.1 MB Notification: Performance of Templates: time 0.002181/0.3511, allocations: 397.8 kB / 461.2 MB, free: 34.15 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)