Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 180.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7028/0.7028, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 403.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009851, allocations: 105.4 kB / 484.4 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1443, allocations: 80.21 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002869/0.1472, allocations: 1.495 MB / 0.6416 GB, free: 5.273 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000327/0.1476, allocations: 96.59 kB / 0.6417 GB, free: 5.176 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.1476, allocations: 0 / 0.6417 GB, free: 5.176 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.1476, allocations: 0 / 0.6417 GB, free: 5.176 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.1477, allocations: 3.938 kB / 0.6417 GB, free: 5.172 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.1479, allocations: 15.98 kB / 0.6417 GB, free: 5.156 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.148, allocations: 27.86 kB / 0.6418 GB, free: 5.129 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.1481, allocations: 8 kB / 0.6418 GB, free: 5.121 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.1481, allocations: 4 kB / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.391e-05/0.1482, allocations: 15.92 kB / 0.6418 GB, free: 5.102 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1482, allocations: 7.984 kB / 0.6418 GB, free: 5.094 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.1483, allocations: 15.98 kB / 0.6418 GB, free: 5.078 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.1483, allocations: 3.984 kB / 0.6418 GB, free: 5.074 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.1483, allocations: 7.938 kB / 0.6418 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.1485, allocations: 27.91 kB / 0.6419 GB, free: 5.039 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1485, allocations: 0 / 0.6419 GB, free: 5.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1485, allocations: 0 / 0.6419 GB, free: 5.039 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1485, allocations: 0 / 0.6419 GB, free: 5.039 MB / 442.7 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.0004914/0.149, allocations: 347.7 kB / 0.6422 GB, free: 4.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.149, allocations: 12.03 kB / 0.6422 GB, free: 4.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.1492, allocations: 16.83 kB / 0.6422 GB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.1494, allocations: 164.3 kB / 0.6424 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1494, allocations: 4.375 kB / 0.6424 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1494, allocations: 8.312 kB / 0.6424 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1496, allocations: 62.2 kB / 0.6424 GB, free: 4.344 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1496, allocations: 4.188 kB / 0.6424 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.1496, allocations: 3.938 kB / 0.6424 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1497, allocations: 0 / 0.6424 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1499, allocations: 43.95 kB / 0.6425 GB, free: 4.293 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1502, allocations: 264.9 kB / 0.6427 GB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1504, allocations: 66.36 kB / 0.6428 GB, free: 3.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1505, allocations: 32.89 kB / 0.6428 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.1505, allocations: 0 / 0.6428 GB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1506, allocations: 30.56 kB / 0.6429 GB, free: 3.836 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1506, allocations: 0 / 0.6429 GB, free: 3.836 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004037/0.151, allocations: 109.5 kB / 0.643 GB, free: 3.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.151, allocations: 55.34 kB / 0.643 GB, free: 3.656 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.207e-05/0.1511, allocations: 105.8 kB / 0.6431 GB, free: 3.543 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1511, allocations: 25.7 kB / 0.6432 GB, free: 3.512 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.1512, allocations: 80.14 kB / 0.6432 GB, free: 3.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.1512, allocations: 7.969 kB / 0.6432 GB, free: 3.422 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.1513, allocations: 21.72 kB / 0.6433 GB, free: 3.395 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.936e-05/0.1514, allocations: 314.8 kB / 0.6436 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1515, allocations: 23.98 kB / 0.6436 GB, free: 3.055 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.23e-05/0.1516, allocations: 23.97 kB / 0.6436 GB, free: 3.031 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1518, allocations: 52.88 kB / 0.6437 GB, free: 2.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1518, allocations: 0 / 0.6437 GB, free: 2.977 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002239/0.152, allocations: 85.53 kB / 0.6437 GB, free: 2.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.152, allocations: 4 kB / 0.6437 GB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.152, allocations: 3.984 kB / 0.6437 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1521, allocations: 4 kB / 0.6437 GB, free: 2.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.1522, allocations: 8.031 kB / 0.6438 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1522, allocations: 7.984 kB / 0.6438 GB, free: 2.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.1523, allocations: 4 kB / 0.6438 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1523, allocations: 0 / 0.6438 GB, free: 2.855 MB / 442.7 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 7.092e-05/0.1524, allocations: 115.1 kB / 0.6439 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.1524, allocations: 4 kB / 0.6439 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.1524, allocations: 7.781 kB / 0.6439 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1524, allocations: 0 / 0.6439 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1524, allocations: 11.94 kB / 0.6439 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1524, allocations: 0 / 0.6439 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1526, allocations: 169.5 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1526, allocations: 0 / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.1527, allocations: 11.98 kB / 0.6441 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1527, allocations: 0 / 0.6441 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.1527, allocations: 0 / 0.6441 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1527, allocations: 0 / 0.6441 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1527, allocations: 0 / 0.6441 GB, free: 2.484 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/0.1533, allocations: 0.7474 MB / 0.6448 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.1534, allocations: 85.09 kB / 0.6449 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.1534, allocations: 0 / 0.6449 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.1535, allocations: 8.031 kB / 0.6449 GB, free: 1.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.1535, allocations: 11.92 kB / 0.6449 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1536, allocations: 7.938 kB / 0.6449 GB, free: 1.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.638e-05/0.1536, allocations: 83.22 kB / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1536, allocations: 0 / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.154, allocations: 4 kB / 0.645 GB, free: 1.465 MB / 442.7 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.0001393/0.1541, allocations: 103.2 kB / 0.6451 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1544, allocations: 47.95 kB / 0.6451 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1544, allocations: 0 / 0.6451 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1545, allocations: 27.97 kB / 0.6452 GB, free: 1.277 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.1548, allocations: 9.266 kB / 0.6452 GB, free: 1.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/0.1553, allocations: 238.2 kB / 0.6454 GB, free: 1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.1555, allocations: 0.677 MB / 0.6461 GB, free: 304 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.1556, allocations: 4 kB / 0.6461 GB, free: 300 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1556, allocations: 7.438 kB / 0.6461 GB, free: 296 kB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1556, allocations: 0 / 0.6461 GB, free: 296 kB / 442.7 MB Notification: Performance of Templates: time 0.002445/0.1581, allocations: 0.5218 MB / 0.6466 GB, free: 15.77 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)