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.008895/0.008895, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.002059/0.002059, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.594/1.594, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2695/0.2695, allocations: 54.97 MB / 324.9 MB, free: 4.844 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.001441/0.001441, allocations: 71.84 kB / 456.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1398, allocations: 59.6 MB / 0.5037 GB, free: 7.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001651/0.1415, allocations: 0.5468 MB / 0.5043 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002976/0.1418, allocations: 87.73 kB / 0.5043 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.1418, allocations: 4 kB / 0.5043 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.28e-05/0.1418, allocations: 0 / 0.5043 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.905e-05/0.1419, allocations: 3.938 kB / 0.5044 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1421, allocations: 19.92 kB / 0.5044 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.452e-05/0.1422, allocations: 7.984 kB / 0.5044 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.1423, allocations: 4 kB / 0.5044 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1423, allocations: 4 kB / 0.5044 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.216e-05/0.1424, allocations: 11.98 kB / 0.5044 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.1424, allocations: 0 / 0.5044 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.214e-05/0.1424, allocations: 15.98 kB / 0.5044 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1425, allocations: 3.938 kB / 0.5044 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.1425, allocations: 3.984 kB / 0.5044 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.746e-05/0.1426, allocations: 11.98 kB / 0.5044 GB, free: 6.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1426, allocations: 0 / 0.5044 GB, free: 6.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1426, allocations: 4 kB / 0.5044 GB, free: 6.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1426, allocations: 0 / 0.5044 GB, free: 6.363 MB / 398.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.0003476/0.143, allocations: 315.6 kB / 0.5047 GB, free: 6.008 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.143, allocations: 16.03 kB / 0.5048 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1432, allocations: 8.922 kB / 0.5048 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.146e-05/0.1433, allocations: 164.3 kB / 0.5049 GB, free: 5.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1433, allocations: 8.312 kB / 0.5049 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1433, allocations: 4.375 kB / 0.5049 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1435, allocations: 45.56 kB / 0.505 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1435, allocations: 0 / 0.505 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1435, allocations: 0 / 0.505 GB, free: 5.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1435, allocations: 4 kB / 0.505 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.89e-05/0.1436, allocations: 15.98 kB / 0.505 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.1438, allocations: 149.7 kB / 0.5051 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.1439, allocations: 38.61 kB / 0.5052 GB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.666e-05/0.144, allocations: 12.91 kB / 0.5052 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.144, allocations: 11.92 kB / 0.5052 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1441, allocations: 42.5 kB / 0.5052 GB, free: 5.383 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.335e-06/0.1441, allocations: 3.984 kB / 0.5052 GB, free: 5.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002202/0.1443, allocations: 53.67 kB / 0.5053 GB, free: 5.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1443, allocations: 51.41 kB / 0.5053 GB, free: 5.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.745e-05/0.1444, allocations: 89.86 kB / 0.5054 GB, free: 5.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.1444, allocations: 25.7 kB / 0.5055 GB, free: 5.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.1444, allocations: 84.14 kB / 0.5055 GB, free: 5.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1445, allocations: 11.81 kB / 0.5055 GB, free: 5.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.1445, allocations: 17.7 kB / 0.5056 GB, free: 5.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1447, allocations: 310.8 kB / 0.5059 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-05/0.1447, allocations: 8 kB / 0.5059 GB, free: 4.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.1448, allocations: 7.984 kB / 0.5059 GB, free: 4.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.1449, allocations: 24.78 kB / 0.5059 GB, free: 4.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1449, allocations: 7.938 kB / 0.5059 GB, free: 4.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001174/0.145, allocations: 53.62 kB / 0.506 GB, free: 4.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.145, allocations: 4 kB / 0.506 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.145, allocations: 0 / 0.506 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.145, allocations: 0 / 0.506 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.1454, allocations: 43.92 kB / 0.506 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.1469, allocations: 1.4 MB / 0.5074 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.1469, allocations: 3.938 kB / 0.5074 GB, free: 2.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1469, allocations: 8.016 kB / 0.5074 GB, free: 2.988 MB / 398.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 7.948e-05/0.147, allocations: 109.9 kB / 0.5075 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-06/0.147, allocations: 4 kB / 0.5075 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.147, allocations: 3.5 kB / 0.5075 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1471, allocations: 3.938 kB / 0.5075 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.1471, allocations: 4 kB / 0.5075 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1471, allocations: 3.938 kB / 0.5075 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.1472, allocations: 149.7 kB / 0.5076 GB, free: 2.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1472, allocations: 4 kB / 0.5076 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.1476, allocations: 55.86 kB / 0.5077 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1476, allocations: 4.328 kB / 0.5077 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.1476, allocations: 0 / 0.5077 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1488, allocations: 1.405 MB / 0.5091 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1488, allocations: 4.031 kB / 0.5091 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1489, allocations: 73.05 kB / 0.5092 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.149, allocations: 81.05 kB / 0.5092 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-06/0.149, allocations: 0 / 0.5092 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.149, allocations: 11.98 kB / 0.5092 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.1491, allocations: 4.062 kB / 0.5092 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1491, allocations: 0 / 0.5092 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1492, allocations: 75.28 kB / 0.5093 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1492, allocations: 0 / 0.5093 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001934/0.1494, allocations: 4 kB / 0.5093 GB, free: 0.7617 MB / 398.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.0001381/0.1495, allocations: 99.11 kB / 0.5094 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.15, allocations: 67.84 kB / 0.5095 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.15, allocations: 4 kB / 0.5095 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.1504, allocations: 39.95 kB / 0.5095 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.1505, allocations: 11.94 kB / 0.5095 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003679/0.1509, allocations: 96.77 kB / 0.5096 GB, free: 420 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1513, allocations: 0.6767 MB / 0.5103 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.1513, allocations: 0 / 0.5103 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.1513, allocations: 15.42 kB / 0.5103 GB, free: 15.69 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1514, allocations: 0 / 0.5103 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Templates: time 0.002591/0.154, allocations: 418 kB / 0.5107 GB, free: 15.29 MB / 414.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)