Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008968/0.0009013, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9453/0.9453, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 15.98 kB / 0.5082 GB, free: 4.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 82.3 MB / 0.5886 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006334/0.1516, allocations: 315 kB / 0.5889 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002733/0.1519, allocations: 99.78 kB / 0.589 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-06/0.1519, allocations: 0 / 0.589 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.212e-05/0.1519, allocations: 3.938 kB / 0.589 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.152, allocations: 3.938 kB / 0.589 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.1521, allocations: 11.98 kB / 0.589 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.772e-05/0.1522, allocations: 4 kB / 0.589 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.1522, allocations: 0 / 0.589 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.862e-05/0.1522, allocations: 4 kB / 0.589 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.1523, allocations: 11.91 kB / 0.5891 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.1523, allocations: 4 kB / 0.5891 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.01e-05/0.1524, allocations: 15.98 kB / 0.5891 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.1524, allocations: 0 / 0.5891 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.1524, allocations: 29.7 kB / 0.5891 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.749e-05/0.1525, allocations: 11.98 kB / 0.5891 GB, free: 2.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1525, allocations: 0 / 0.5891 GB, free: 2.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1525, allocations: 0 / 0.5891 GB, free: 2.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1525, allocations: 0 / 0.5891 GB, free: 2.066 MB / 494.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.0002939/0.1528, allocations: 311.6 kB / 0.5894 GB, free: 1.711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1529, allocations: 8.031 kB / 0.5894 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.153, allocations: 16.86 kB / 0.5894 GB, free: 1.688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.881e-05/0.1531, allocations: 164.4 kB / 0.5896 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1531, allocations: 4.375 kB / 0.5896 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.1531, allocations: 384 / 0.5896 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1532, allocations: 46.17 kB / 0.5896 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1533, allocations: 192 / 0.5896 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1533, allocations: 3.938 kB / 0.5896 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1533, allocations: 4 kB / 0.5896 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.808e-05/0.1534, allocations: 15.98 kB / 0.5897 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1535, allocations: 157.7 kB / 0.5898 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1537, allocations: 42.56 kB / 0.5899 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1537, allocations: 16.84 kB / 0.5899 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.1537, allocations: 0 / 0.5899 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1538, allocations: 34.56 kB / 0.5899 GB, free: 1.094 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1538, allocations: 0 / 0.5899 GB, free: 1.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001921/0.154, allocations: 65.52 kB / 0.59 GB, free: 1.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.154, allocations: 51.41 kB / 0.59 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.307e-05/0.154, allocations: 89.86 kB / 0.5901 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1541, allocations: 29.7 kB / 0.5901 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.1541, allocations: 80.14 kB / 0.5902 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.1541, allocations: 8.125 kB / 0.5902 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.1541, allocations: 17.72 kB / 0.5902 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.1542, allocations: 310.8 kB / 0.5905 GB, free: 412 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.1543, allocations: 11.92 kB / 0.5905 GB, free: 400 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.795e-05/0.1543, allocations: 4 kB / 0.5905 GB, free: 396 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.1544, allocations: 28.78 kB / 0.5906 GB, free: 364 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1544, allocations: 0 / 0.5906 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001135/0.1545, allocations: 49.67 kB / 0.5906 GB, free: 308 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1546, allocations: 8 kB / 0.5906 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1546, allocations: 0 / 0.5906 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1546, allocations: 3.938 kB / 0.5906 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.155, allocations: 39.94 kB / 0.5907 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.1561, allocations: 1.318 MB / 0.592 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.1562, allocations: 0 / 0.592 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1562, allocations: 3.984 kB / 0.592 GB, free: 14.8 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.452e-05/0.1563, allocations: 109.9 kB / 0.5921 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.1563, allocations: 7.875 kB / 0.5921 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.1563, allocations: 7.5 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1563, allocations: 0 / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1563, allocations: 4.094 kB / 0.5921 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1563, allocations: 4 kB / 0.5921 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.205e-05/0.1564, allocations: 153.6 kB / 0.5922 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1564, allocations: 3.938 kB / 0.5922 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.1568, allocations: 47.92 kB / 0.5923 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1568, allocations: 0 / 0.5923 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.1568, allocations: 8 kB / 0.5923 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.1578, allocations: 1.306 MB / 0.5936 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1578, allocations: 0 / 0.5936 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.158, allocations: 77.02 kB / 0.5936 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.158, allocations: 85.2 kB / 0.5937 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-06/0.158, allocations: 0 / 0.5937 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.758e-05/0.1581, allocations: 4 kB / 0.5937 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1581, allocations: 0 / 0.5937 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1581, allocations: 4 kB / 0.5937 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.1581, allocations: 77 kB / 0.5938 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1581, allocations: 0 / 0.5938 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001935/0.1583, allocations: 7.984 kB / 0.5938 GB, free: 12.68 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.0001254/0.1584, allocations: 103.2 kB / 0.5939 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.1589, allocations: 59.86 kB / 0.594 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1589, allocations: 0 / 0.594 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.1593, allocations: 59.91 kB / 0.594 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1595, allocations: 6.469 kB / 0.594 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1597, allocations: 128.9 kB / 0.5941 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.16, allocations: 0.677 MB / 0.5948 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.16, allocations: 11.44 kB / 0.5948 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.16, allocations: 0 / 0.5948 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.001879/0.1619, allocations: 0.5813 MB / 0.5954 GB, free: 10.99 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)