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.001421/0.001421, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001735/0.001735, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.505/1.505, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3826/0.3826, allocations: 54.92 MB / 324.4 MB, free: 136 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.001382/0.001382, allocations: 67.91 kB / 394.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1163, allocations: 59.59 MB / 454.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.2018/0.3181, allocations: 0.6155 MB / 455.1 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002696/0.3184, allocations: 83.61 kB / 455.1 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.417e-05/0.3185, allocations: 0 / 455.1 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.3186, allocations: 4.906 kB / 455.1 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.3186, allocations: 1.922 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3188, allocations: 15.14 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.314e-05/0.3189, allocations: 7.578 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3189, allocations: 5.094 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.319, allocations: 6.469 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.319, allocations: 0.5625 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.319, allocations: 5.406 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.022e-05/0.3191, allocations: 13.28 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3191, allocations: 1.703 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.3192, allocations: 10.2 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.038e-05/0.3193, allocations: 11.94 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3193, allocations: 3.094 kB / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3193, allocations: 0 / 455.2 MB, free: 39.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3193, allocations: 2.062 kB / 455.2 MB, free: 39.18 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.0003067/0.3196, allocations: 316.7 kB / 455.5 MB, free: 38.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3197, allocations: 8.844 kB / 455.5 MB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.3198, allocations: 14.61 kB / 455.6 MB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.434e-05/0.3199, allocations: 164.1 kB / 455.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3199, allocations: 4.016 kB / 455.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.3199, allocations: 384 / 455.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.3201, allocations: 45.72 kB / 455.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3201, allocations: 1.125 kB / 455.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3201, allocations: 0 / 455.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3201, allocations: 4.141 kB / 455.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.3202, allocations: 19.92 kB / 455.8 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.3203, allocations: 148.2 kB / 455.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3205, allocations: 43.28 kB / 456 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.3206, allocations: 15.47 kB / 456 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3206, allocations: 0 / 456 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3206, allocations: 35.25 kB / 456 MB, free: 38.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.412e-06/0.3206, allocations: 0 / 456 MB, free: 38.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002229/0.3209, allocations: 61.2 kB / 456.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.3209, allocations: 51.97 kB / 456.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.31e-05/0.3209, allocations: 93.73 kB / 456.2 MB, free: 38.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.3209, allocations: 28.7 kB / 456.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.056e-05/0.3209, allocations: 84.89 kB / 456.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.321, allocations: 5.375 kB / 456.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.321, allocations: 16.09 kB / 456.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.3211, allocations: 311.5 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.3211, allocations: 9.938 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.994e-05/0.3211, allocations: 11.22 kB / 456.7 MB, free: 37.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/0.3212, allocations: 27.5 kB / 456.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3212, allocations: 2.594 kB / 456.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.544e-05/0.3213, allocations: 48.67 kB / 456.8 MB, free: 37.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3213, allocations: 6.875 kB / 456.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3214, allocations: 1.094 kB / 456.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3214, allocations: 5.688 kB / 456.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.3217, allocations: 42.45 kB / 456.8 MB, free: 37.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.3228, allocations: 1.405 MB / 458.2 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.3228, allocations: 12.14 kB / 458.2 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3228, allocations: 4.656 kB / 458.2 MB, free: 36.25 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.218e-05/0.3229, allocations: 113 kB / 458.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.3229, allocations: 0 / 458.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.3229, allocations: 4.688 kB / 458.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3229, allocations: 1.031 kB / 458.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.3229, allocations: 3.281 kB / 458.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3229, allocations: 1.281 kB / 458.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.559e-05/0.323, allocations: 159.3 kB / 458.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.323, allocations: 0 / 458.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.3233, allocations: 52.22 kB / 458.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3233, allocations: 0 / 458.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.3234, allocations: 2.656 kB / 458.6 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007974/0.3242, allocations: 1.403 MB / 460 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3242, allocations: 2.719 kB / 460 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.3243, allocations: 80.5 kB / 460.1 MB, free: 34.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.3243, allocations: 81.05 kB / 460.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-06/0.3243, allocations: 0 / 460.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.3243, allocations: 6.219 kB / 460.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.3244, allocations: 4.125 kB / 460.1 MB, free: 34.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3244, allocations: 3.188 kB / 460.2 MB, free: 34.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.578e-05/0.3244, allocations: 75.84 kB / 460.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.3244, allocations: 0 / 460.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3246, allocations: 4.406 kB / 460.2 MB, free: 34.3 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.258e-05/0.3247, allocations: 99.91 kB / 460.3 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.3251, allocations: 58.45 kB / 460.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3252, allocations: 8.609 kB / 460.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3254, allocations: 43.83 kB / 460.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.3255, allocations: 0 / 460.4 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.3258, allocations: 99.03 kB / 460.5 MB, free: 34.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.3259, allocations: 0.6717 MB / 461.2 MB, free: 33.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.328e-05/0.3259, allocations: 9.281 kB / 461.2 MB, free: 33.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.3259, allocations: 10.81 kB / 461.2 MB, free: 33.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.326, allocations: 0 / 461.2 MB, free: 33.41 MB / 382.1 MB Notification: Performance of Templates: time 0.002056/0.328, allocations: 410.1 kB / 461.6 MB, free: 33.38 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)