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.008217/0.008217, allocations: 101.2 kB / 15.73 MB, free: 6.039 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.001779/0.001779, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.675/1.675, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.396/0.396, allocations: 54.95 MB / 324.8 MB, free: 76 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.001537/0.001537, allocations: 72.58 kB / 456.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1339, allocations: 59.59 MB / 0.5038 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.002833/0.1368, allocations: 1.401 MB / 0.5052 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003003/0.1371, allocations: 71.23 kB / 0.5052 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.1372, allocations: 1.469 kB / 0.5052 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.1372, allocations: 3.938 kB / 0.5052 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.1373, allocations: 0 / 0.5052 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1376, allocations: 28.53 kB / 0.5053 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.697e-05/0.1377, allocations: 25.98 kB / 0.5053 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1378, allocations: 16.27 kB / 0.5053 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.359e-05/0.1378, allocations: 2.562 kB / 0.5053 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.1379, allocations: 19.61 kB / 0.5053 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1379, allocations: 2.75 kB / 0.5053 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.545e-05/0.138, allocations: 16.45 kB / 0.5053 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.138, allocations: 5.312 kB / 0.5054 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1381, allocations: 14.42 kB / 0.5054 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1382, allocations: 28.58 kB / 0.5054 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1382, allocations: 0 / 0.5054 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1382, allocations: 0 / 0.5054 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1382, allocations: 0 / 0.5054 GB, free: 8.203 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.000437/0.1387, allocations: 347 kB / 0.5057 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1387, allocations: 8.812 kB / 0.5057 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.1389, allocations: 16.73 kB / 0.5057 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.139, allocations: 170.5 kB / 0.5059 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.1391, allocations: 5.406 kB / 0.5059 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.1391, allocations: 1.5 kB / 0.5059 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.1393, allocations: 60.27 kB / 0.506 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1393, allocations: 1.188 kB / 0.506 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1393, allocations: 7.938 kB / 0.506 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1393, allocations: 0 / 0.506 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1395, allocations: 51.75 kB / 0.506 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.1399, allocations: 265.6 kB / 0.5063 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1401, allocations: 55.52 kB / 0.5063 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1402, allocations: 30.06 kB / 0.5064 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.1402, allocations: 1.625 kB / 0.5064 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1403, allocations: 34.55 kB / 0.5064 GB, free: 7.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1403, allocations: 0 / 0.5064 GB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004219/0.1407, allocations: 104.5 kB / 0.5065 GB, free: 7.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.1407, allocations: 53.53 kB / 0.5066 GB, free: 7.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.1408, allocations: 101.3 kB / 0.5066 GB, free: 6.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.1408, allocations: 25.7 kB / 0.5067 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.1408, allocations: 89.81 kB / 0.5068 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.1409, allocations: 4 kB / 0.5068 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.1409, allocations: 15.72 kB / 0.5068 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.545e-05/0.141, allocations: 316.2 kB / 0.5071 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.1411, allocations: 29.44 kB / 0.5071 GB, free: 6.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.1412, allocations: 25.22 kB / 0.5071 GB, free: 6.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1414, allocations: 54.09 kB / 0.5072 GB, free: 6.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1414, allocations: 1.531 kB / 0.5072 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002362/0.1416, allocations: 80.41 kB / 0.5073 GB, free: 6.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1416, allocations: 4.344 kB / 0.5073 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1417, allocations: 0 / 0.5073 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1417, allocations: 1.406 kB / 0.5073 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1418, allocations: 11.05 kB / 0.5073 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1418, allocations: 4.031 kB / 0.5073 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.1419, allocations: 10.05 kB / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.1419, allocations: 3.938 kB / 0.5073 GB, free: 6.312 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.445e-05/0.142, allocations: 111 kB / 0.5074 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.142, allocations: 1.438 kB / 0.5074 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.142, allocations: 16.81 kB / 0.5074 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.142, allocations: 1.688 kB / 0.5074 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.1421, allocations: 0 / 0.5074 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1421, allocations: 4 kB / 0.5074 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.1422, allocations: 164.7 kB / 0.5076 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1422, allocations: 3.938 kB / 0.5076 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.768e-05/0.1423, allocations: 11.05 kB / 0.5076 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1423, allocations: 5.312 kB / 0.5076 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1423, allocations: 0 / 0.5076 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1423, allocations: 0 / 0.5076 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1423, allocations: 1.469 kB / 0.5076 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.1426, allocations: 186.2 kB / 0.5078 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.1426, allocations: 82.67 kB / 0.5079 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1426, allocations: 0 / 0.5079 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.1427, allocations: 17.7 kB / 0.5079 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1428, allocations: 1.5 kB / 0.5079 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1428, allocations: 0 / 0.5079 GB, free: 5.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.942e-05/0.1428, allocations: 92.61 kB / 0.508 GB, free: 5.594 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1428, allocations: 0 / 0.508 GB, free: 5.594 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.1431, allocations: 5.438 kB / 0.508 GB, free: 5.594 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 9.836e-05/0.1432, allocations: 92.91 kB / 0.5081 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.1434, allocations: 52.77 kB / 0.5081 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1435, allocations: 0 / 0.5081 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1436, allocations: 32.53 kB / 0.5081 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1439, allocations: 1.375 kB / 0.5081 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.1442, allocations: 131.5 kB / 0.5083 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.1443, allocations: 0.6782 MB / 0.5089 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.577e-05/0.1444, allocations: 4.062 kB / 0.5089 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1444, allocations: 8.812 kB / 0.5089 GB, free: 4.629 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1444, allocations: 1.375 kB / 0.5089 GB, free: 4.629 MB / 382.1 MB Notification: Performance of Templates: time 0.002636/0.1471, allocations: 0.5777 MB / 0.5095 GB, free: 4.336 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.makefile (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)