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.00121/0.00121, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001395/0.001395, allocations: 177.3 kB / 15.95 MB, free: 216 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.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3783/0.3783, allocations: 54.98 MB / 325.3 MB, free: 0.7305 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.0005968/0.000597, allocations: 20 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3203, allocations: 60.72 MB / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.001242/0.3215, allocations: 1.119 MB / 458.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001906/0.3217, allocations: 73.69 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.3218, allocations: 0 / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.264e-05/0.3218, allocations: 3.938 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.088e-05/0.3219, allocations: 5.172 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.322, allocations: 9.547 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.3221, allocations: 19.22 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.162e-05/0.3221, allocations: 7 kB / 458.5 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.3222, allocations: 16 kB / 458.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.431e-05/0.3222, allocations: 10.81 kB / 458.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3223, allocations: 1 kB / 458.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-05/0.3223, allocations: 17.52 kB / 458.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-06/0.3223, allocations: 0 / 458.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.3223, allocations: 30.39 kB / 458.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.568e-05/0.3224, allocations: 22.94 kB / 458.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.3224, allocations: 0.6562 kB / 458.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3224, allocations: 0 / 458.6 MB, free: 38.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.3224, allocations: 0.75 kB / 458.6 MB, free: 38.41 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.0003314/0.3228, allocations: 345 kB / 459 MB, free: 38.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.3228, allocations: 9.719 kB / 459 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.323, allocations: 17.33 kB / 459 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.3231, allocations: 170.2 kB / 459.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3231, allocations: 0.8438 kB / 459.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3231, allocations: 3.188 kB / 459.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.3233, allocations: 68.3 kB / 459.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3233, allocations: 0 / 459.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3234, allocations: 7.797 kB / 459.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3234, allocations: 0 / 459.2 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.3236, allocations: 63.7 kB / 459.3 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3239, allocations: 266.9 kB / 459.6 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3241, allocations: 62.69 kB / 459.6 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3242, allocations: 1.781 kB / 459.6 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.3242, allocations: 31.38 kB / 459.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3242, allocations: 0 / 459.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004248/0.3246, allocations: 130 kB / 459.8 MB, free: 37.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3247, allocations: 51.91 kB / 459.8 MB, free: 37.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.505e-05/0.3247, allocations: 107.9 kB / 459.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.3247, allocations: 25.7 kB / 460 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/0.3248, allocations: 88.56 kB / 460.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3248, allocations: 3.656 kB / 460.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.3248, allocations: 0 / 460.1 MB, free: 37.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.3249, allocations: 316.5 kB / 460.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.325, allocations: 36.42 kB / 460.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.3251, allocations: 34.53 kB / 460.4 MB, free: 36.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.3252, allocations: 31.84 kB / 460.5 MB, free: 36.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3252, allocations: 0 / 460.5 MB, free: 36.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002295/0.3255, allocations: 93.08 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3255, allocations: 6.438 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3255, allocations: 3.281 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3255, allocations: 1.031 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3257, allocations: 29 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3257, allocations: 2.234 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.3257, allocations: 12.12 kB / 460.6 MB, free: 36.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.3258, allocations: 0 / 460.6 MB, free: 36.83 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 6.5e-05/0.3258, allocations: 111.8 kB / 460.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.3259, allocations: 0 / 460.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.3259, allocations: 13.91 kB / 460.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3259, allocations: 0.9844 kB / 460.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3259, allocations: 3.953 kB / 460.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3259, allocations: 3.188 kB / 460.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.3261, allocations: 158.2 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3261, allocations: 3.938 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.3262, allocations: 17.03 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3262, allocations: 0.9688 kB / 460.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.3262, allocations: 4 kB / 460.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3262, allocations: 0 / 460.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3262, allocations: 0 / 460.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.3265, allocations: 201.1 kB / 461.1 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.3265, allocations: 77.11 kB / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.3265, allocations: 3.812 kB / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.3266, allocations: 9.734 kB / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.3267, allocations: 6.156 kB / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.3267, allocations: 0 / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.3267, allocations: 94.22 kB / 461.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3267, allocations: 0 / 461.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002128/0.3269, allocations: 9.672 kB / 461.3 MB, free: 36.19 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 0.0001051/0.327, allocations: 99.66 kB / 461.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.3273, allocations: 69.05 kB / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3273, allocations: 0 / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.3275, allocations: 30.7 kB / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3277, allocations: 10.84 kB / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.328, allocations: 128.9 kB / 461.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.3281, allocations: 0.6824 MB / 462.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3281, allocations: 4 kB / 462.3 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.3282, allocations: 10.22 kB / 462.3 MB, free: 35.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3282, allocations: 2.062 kB / 462.3 MB, free: 35.28 MB / 382.1 MB Notification: Performance of Templates: time 0.002304/0.3305, allocations: 491.2 kB / 462.8 MB, free: 35.27 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: