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.001342/0.001342, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.002179/0.002178, allocations: 179 kB / 16.27 MB, free: 6.664 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.667/1.667, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4426/0.4426, allocations: 55.01 MB / 325.7 MB, free: 0.5977 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.0005341/0.0005342, allocations: 15.98 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4083, allocations: 60.72 MB / 458 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.00167/0.41, allocations: 1.136 MB / 459.1 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003017/0.4103, allocations: 77.42 kB / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.4104, allocations: 0 / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.4104, allocations: 4.141 kB / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.458e-05/0.4105, allocations: 6.125 kB / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.4107, allocations: 17.41 kB / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.628e-05/0.4107, allocations: 17.95 kB / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.695e-05/0.4108, allocations: 3.562 kB / 459.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.4109, allocations: 17.56 kB / 459.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.4109, allocations: 12.47 kB / 459.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.411, allocations: 0 / 459.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.411, allocations: 15.89 kB / 459.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.411, allocations: 4.344 kB / 459.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.4111, allocations: 39.02 kB / 459.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.4112, allocations: 30.5 kB / 459.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4112, allocations: 0.9062 kB / 459.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4112, allocations: 0 / 459.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.4112, allocations: 0.625 kB / 459.4 MB, free: 38.39 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.0004254/0.4117, allocations: 343.7 kB / 459.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4117, allocations: 8.906 kB / 459.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.4119, allocations: 24.14 kB / 459.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4121, allocations: 164.3 kB / 459.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.4121, allocations: 3.344 kB / 459.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4121, allocations: 384 / 459.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.4124, allocations: 75.97 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4124, allocations: 0 / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4124, allocations: 0.5625 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4124, allocations: 1.562 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.4127, allocations: 71.12 kB / 460 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.4131, allocations: 264.5 kB / 460.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.4133, allocations: 63.95 kB / 460.4 MB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.4135, allocations: 36.58 kB / 460.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4135, allocations: 0 / 460.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4136, allocations: 34.16 kB / 460.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.4136, allocations: 1.75 kB / 460.4 MB, free: 37.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004701/0.414, allocations: 131 kB / 460.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4141, allocations: 54.55 kB / 460.6 MB, free: 37.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.4142, allocations: 103.7 kB / 460.7 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4142, allocations: 29.64 kB / 460.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.4142, allocations: 87.08 kB / 460.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.4143, allocations: 7.875 kB / 460.8 MB, free: 37.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.4143, allocations: 9.719 kB / 460.8 MB, free: 37.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.548e-05/0.4144, allocations: 319.2 kB / 461.1 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.4145, allocations: 33.67 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.4146, allocations: 34.42 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.4148, allocations: 68.72 kB / 461.3 MB, free: 36.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4148, allocations: 0 / 461.3 MB, free: 36.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002262/0.415, allocations: 101.5 kB / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.415, allocations: 3.281 kB / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4151, allocations: 0 / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4151, allocations: 3.719 kB / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4152, allocations: 15.05 kB / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4152, allocations: 0 / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.4153, allocations: 15.84 kB / 461.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.4153, allocations: 0 / 461.4 MB, free: 36.77 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.4153, allocations: 116.2 kB / 461.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.4154, allocations: 0 / 461.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.4154, allocations: 6.188 kB / 461.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4154, allocations: 0.6562 kB / 461.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4154, allocations: 0 / 461.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4154, allocations: 4.125 kB / 461.5 MB, free: 36.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.4156, allocations: 169.5 kB / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4156, allocations: 6.844 kB / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/0.4156, allocations: 11.41 kB / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4157, allocations: 2.531 kB / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.4157, allocations: 1.062 kB / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4157, allocations: 0 / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4157, allocations: 0 / 461.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.4159, allocations: 202.5 kB / 461.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.416, allocations: 80.23 kB / 462 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.416, allocations: 0 / 462 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.541e-05/0.4161, allocations: 13.86 kB / 462 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.4161, allocations: 2.719 kB / 462 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.4161, allocations: 0.75 kB / 462 MB, free: 36.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.4162, allocations: 93.31 kB / 462.1 MB, free: 36.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4162, allocations: 0 / 462.1 MB, free: 36.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.4164, allocations: 2.781 kB / 462.1 MB, free: 36.13 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00011/0.4165, allocations: 105.7 kB / 462.2 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.4168, allocations: 63.2 kB / 462.3 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4168, allocations: 0 / 462.3 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4169, allocations: 36.45 kB / 462.3 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.4172, allocations: 11.75 kB / 462.3 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.4176, allocations: 143.5 kB / 462.5 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.4177, allocations: 0.6758 MB / 463.1 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.009e-05/0.4178, allocations: 0 / 463.1 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.4178, allocations: 10.31 kB / 463.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4178, allocations: 3.938 kB / 463.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Templates: time 0.002516/0.4203, allocations: 0.4966 MB / 463.7 MB, free: 35.19 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: