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.001256/0.001256, 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.001489/0.001488, allocations: 192.7 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.561/1.561, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4219/0.4219, allocations: 54.95 MB / 324.7 MB, free: 15.97 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.001612/0.001612, allocations: 71.91 kB / 395.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1206, allocations: 59.58 MB / 454.9 MB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.2191/0.3398, allocations: 0.5498 MB / 455.5 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003058/0.3401, allocations: 87.97 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.82e-05/0.3402, allocations: 0 / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.3402, allocations: 0 / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.077e-05/0.3403, allocations: 5.031 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.3406, allocations: 18.14 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.007e-05/0.3406, allocations: 9.906 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3407, allocations: 4.062 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.3407, allocations: 2.297 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.3408, allocations: 5.516 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.3408, allocations: 0 / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.3409, allocations: 16 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.3409, allocations: 2.562 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.3409, allocations: 10.19 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.359e-05/0.341, allocations: 13.52 kB / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.341, allocations: 0 / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3411, allocations: 0 / 455.6 MB, free: 39.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3411, allocations: 0 / 455.6 MB, free: 39.43 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.0003211/0.3414, allocations: 320.4 kB / 456 MB, free: 39.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3414, allocations: 9.781 kB / 456 MB, free: 39.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3416, allocations: 9.484 kB / 456 MB, free: 39.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.238e-05/0.3417, allocations: 169.3 kB / 456.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.3417, allocations: 2.812 kB / 456.1 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3417, allocations: 6.672 kB / 456.2 MB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3419, allocations: 38.44 kB / 456.2 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.3419, allocations: 2.719 kB / 456.2 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3419, allocations: 3.5 kB / 456.2 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.3419, allocations: 0 / 456.2 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.597e-05/0.342, allocations: 12.12 kB / 456.2 MB, free: 38.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.3421, allocations: 152.9 kB / 456.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.3423, allocations: 43.38 kB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.3423, allocations: 13.62 kB / 456.4 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3423, allocations: 3.547 kB / 456.4 MB, free: 38.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.3424, allocations: 41.56 kB / 456.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3424, allocations: 0.9375 kB / 456.5 MB, free: 38.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002135/0.3426, allocations: 52.47 kB / 456.5 MB, free: 38.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.3426, allocations: 54.41 kB / 456.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.941e-05/0.3427, allocations: 95.55 kB / 456.7 MB, free: 38.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.3427, allocations: 25.7 kB / 456.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.078e-05/0.3427, allocations: 80.14 kB / 456.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.3427, allocations: 9.359 kB / 456.8 MB, free: 38.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3428, allocations: 16.44 kB / 456.8 MB, free: 38.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.3428, allocations: 315.2 kB / 457.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.3429, allocations: 11.03 kB / 457.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.3429, allocations: 8.797 kB / 457.1 MB, free: 37.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.007e-05/0.343, allocations: 21.09 kB / 457.1 MB, free: 37.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.343, allocations: 0 / 457.1 MB, free: 37.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001001/0.3431, allocations: 55.22 kB / 457.2 MB, free: 37.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3431, allocations: 8.578 kB / 457.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3431, allocations: 0 / 457.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3431, allocations: 8.078 kB / 457.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.3435, allocations: 42.97 kB / 457.2 MB, free: 37.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.3447, allocations: 1.401 MB / 458.6 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.3448, allocations: 7.438 kB / 458.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3448, allocations: 7.781 kB / 458.7 MB, free: 36.5 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.864e-05/0.3448, allocations: 109.4 kB / 458.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/0.3449, allocations: 2.562 kB / 458.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.399e-05/0.3449, allocations: 4.75 kB / 458.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3449, allocations: 0.8125 kB / 458.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.3449, allocations: 0 / 458.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3449, allocations: 2.125 kB / 458.8 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.488e-05/0.345, allocations: 159.2 kB / 458.9 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.345, allocations: 3.094 kB / 458.9 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.3453, allocations: 51.84 kB / 459 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3454, allocations: 2.781 kB / 459 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3454, allocations: 0 / 459 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009072/0.3463, allocations: 1.407 MB / 460.4 MB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3463, allocations: 0 / 460.4 MB, free: 34.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.3464, allocations: 83.47 kB / 460.5 MB, free: 34.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.3464, allocations: 83.77 kB / 460.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-06/0.3465, allocations: 2.125 kB / 460.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.3465, allocations: 4.031 kB / 460.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.3465, allocations: 0 / 460.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3465, allocations: 3.234 kB / 460.6 MB, free: 34.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.2e-05/0.3466, allocations: 79.06 kB / 460.6 MB, free: 34.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3466, allocations: 3.906 kB / 460.6 MB, free: 34.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.3468, allocations: 3.125 kB / 460.7 MB, free: 34.54 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 0.0001092/0.3469, allocations: 103 kB / 460.8 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.3474, allocations: 61.52 kB / 460.8 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3474, allocations: 6.906 kB / 460.8 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.3476, allocations: 39.06 kB / 460.9 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.3478, allocations: 6.594 kB / 460.9 MB, free: 34.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.3483, allocations: 92.28 kB / 461 MB, free: 34.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.3485, allocations: 0.6765 MB / 461.6 MB, free: 33.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.422e-05/0.3485, allocations: 7.875 kB / 461.6 MB, free: 33.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3485, allocations: 7.438 kB / 461.6 MB, free: 33.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3485, allocations: 0 / 461.6 MB, free: 33.65 MB / 382.1 MB Notification: Performance of Templates: time 0.002406/0.3509, allocations: 407.4 kB / 462 MB, free: 33.62 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)