Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001271/0.001271, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001324/0.001324, allocations: 185.5 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.903/0.903, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 60.94 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001806/0.1372, allocations: 0.5862 MB / 0.6609 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002765/0.1375, allocations: 102.2 kB / 0.661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1376, allocations: 0 / 0.661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.1376, allocations: 0 / 0.661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.1377, allocations: 0 / 0.661 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1379, allocations: 23.91 kB / 0.6611 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.1379, allocations: 11.94 kB / 0.6611 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.138, allocations: 3.984 kB / 0.6611 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.138, allocations: 4 kB / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.1381, allocations: 0 / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1381, allocations: 0 / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.1382, allocations: 15.98 kB / 0.6611 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1382, allocations: 0 / 0.6611 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.1382, allocations: 7.938 kB / 0.6611 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.1383, allocations: 15.97 kB / 0.6611 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1383, allocations: 4 kB / 0.6611 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1383, allocations: 0 / 0.6611 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.1383, allocations: 0 / 0.6611 GB, free: 9.441 MB / 0.4981 GB 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.0003431/0.1387, allocations: 323.9 kB / 0.6614 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1387, allocations: 8.031 kB / 0.6614 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1389, allocations: 8.922 kB / 0.6614 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.465e-05/0.139, allocations: 160.4 kB / 0.6616 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.139, allocations: 12.3 kB / 0.6616 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.139, allocations: 384 / 0.6616 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1391, allocations: 42.25 kB / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1392, allocations: 192 / 0.6617 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1392, allocations: 3.938 kB / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1392, allocations: 0 / 0.6617 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.748e-05/0.1393, allocations: 11.98 kB / 0.6617 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.1394, allocations: 149.7 kB / 0.6618 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1396, allocations: 54.58 kB / 0.6619 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.1397, allocations: 16.84 kB / 0.6619 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1397, allocations: 0 / 0.6619 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1397, allocations: 34.56 kB / 0.6619 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.304e-06/0.1397, allocations: 0 / 0.6619 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002027/0.1399, allocations: 57.56 kB / 0.662 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.14, allocations: 59.39 kB / 0.662 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.361e-05/0.14, allocations: 89.86 kB / 0.6621 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.14, allocations: 29.7 kB / 0.6621 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.1401, allocations: 84.14 kB / 0.6622 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.1401, allocations: 11.78 kB / 0.6622 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1401, allocations: 13.72 kB / 0.6622 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1403, allocations: 318.8 kB / 0.6625 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1403, allocations: 7.984 kB / 0.6626 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.1404, allocations: 8 kB / 0.6626 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.642e-05/0.1404, allocations: 20.84 kB / 0.6626 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1404, allocations: 0 / 0.6626 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001116/0.1406, allocations: 53.58 kB / 0.6626 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1406, allocations: 8 kB / 0.6626 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1406, allocations: 0 / 0.6626 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1406, allocations: 3.938 kB / 0.6626 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.141, allocations: 47.88 kB / 0.6627 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.1423, allocations: 1.394 MB / 0.6641 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.1423, allocations: 12.06 kB / 0.6641 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1423, allocations: 0 / 0.6641 GB, free: 6.062 MB / 0.4981 GB 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.248e-05/0.1424, allocations: 118.6 kB / 0.6642 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.1424, allocations: 4 kB / 0.6642 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.1425, allocations: 3.5 kB / 0.6642 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1425, allocations: 4.312 kB / 0.6642 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1425, allocations: 0 / 0.6642 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1425, allocations: 0 / 0.6642 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.785e-05/0.1426, allocations: 161.6 kB / 0.6643 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1426, allocations: 0 / 0.6643 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.1429, allocations: 47.92 kB / 0.6644 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.143, allocations: 0 / 0.6644 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.143, allocations: 0 / 0.6644 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.1441, allocations: 1.412 MB / 0.6658 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1441, allocations: 0 / 0.6658 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.1442, allocations: 73.23 kB / 0.6658 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.1443, allocations: 85.11 kB / 0.6659 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.1443, allocations: 3.938 kB / 0.6659 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.1443, allocations: 7.938 kB / 0.6659 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.1443, allocations: 4 kB / 0.6659 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1443, allocations: 0 / 0.6659 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.651e-05/0.1444, allocations: 75.28 kB / 0.666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1444, allocations: 0 / 0.666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001911/0.1446, allocations: 4 kB / 0.666 GB, free: 3.836 MB / 0.4981 GB 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.0001128/0.1447, allocations: 111.2 kB / 0.6661 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004527/0.1452, allocations: 51.92 kB / 0.6662 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1452, allocations: 0 / 0.6662 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.1455, allocations: 63.91 kB / 0.6662 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1457, allocations: 5.875 kB / 0.6662 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.146, allocations: 122.5 kB / 0.6663 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1462, allocations: 0.6768 MB / 0.667 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.1462, allocations: 7.438 kB / 0.667 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1462, allocations: 3.938 kB / 0.667 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.001813/0.1481, allocations: 0.5961 MB / 0.6676 GB, free: 2.137 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)