Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009832/0.0009833, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0008497/0.0008498, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8371/0.8371, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 12 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001336/0.1562, allocations: 1.14 MB / 0.5883 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.1564, allocations: 96.56 kB / 0.5884 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1565, allocations: 4 kB / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.1565, allocations: 0 / 0.5884 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.1565, allocations: 7.984 kB / 0.5884 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.1567, allocations: 11.98 kB / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.295e-05/0.1567, allocations: 15.88 kB / 0.5884 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.1568, allocations: 11.97 kB / 0.5884 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.915e-05/0.1568, allocations: 0 / 0.5884 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.259e-05/0.1569, allocations: 19.92 kB / 0.5885 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.1569, allocations: 4 kB / 0.5885 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.43e-05/0.1569, allocations: 11.98 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-06/0.1569, allocations: 0 / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.157, allocations: 29.7 kB / 0.5885 GB, free: 1.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.78e-05/0.157, allocations: 19.97 kB / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.157, allocations: 0 / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.157, allocations: 3.938 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.585e-06/0.1571, allocations: 4 kB / 0.5885 GB, free: 1.742 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.0003804/0.1574, allocations: 343.5 kB / 0.5889 GB, free: 1.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.849e-05/0.1575, allocations: 8.031 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1576, allocations: 19.98 kB / 0.5889 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1578, allocations: 174.9 kB / 0.5891 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1578, allocations: 4 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.1578, allocations: 0 / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.158, allocations: 61.67 kB / 0.5891 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.158, allocations: 0 / 0.5891 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.158, allocations: 0 / 0.5891 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.158, allocations: 4 kB / 0.5891 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002161/0.1582, allocations: 67.94 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.1586, allocations: 268.8 kB / 0.5894 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1588, allocations: 66.53 kB / 0.5895 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.1588, allocations: 0 / 0.5895 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1588, allocations: 30.56 kB / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.1588, allocations: 0 / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004048/0.1592, allocations: 129.6 kB / 0.5897 GB, free: 432 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.1593, allocations: 55.53 kB / 0.5897 GB, free: 364 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.428e-05/0.1593, allocations: 109.8 kB / 0.5898 GB, free: 244 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.1594, allocations: 25.7 kB / 0.5898 GB, free: 212 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.1594, allocations: 84.08 kB / 0.5899 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1594, allocations: 15.84 kB / 0.5899 GB, free: 108 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.1594, allocations: 0 / 0.5899 GB, free: 108 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1596, allocations: 314.8 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1597, allocations: 35.97 kB / 0.5903 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.1598, allocations: 31.97 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1599, allocations: 32.05 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1599, allocations: 0 / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002405/0.1601, allocations: 97.64 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1602, allocations: 4 kB / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.1602, allocations: 0 / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.1602, allocations: 0 / 0.5904 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1603, allocations: 19.92 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1603, allocations: 0 / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.844e-05/0.1604, allocations: 11.98 kB / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.1604, allocations: 4.031 kB / 0.5905 GB, free: 15.55 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.1604, allocations: 113.8 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1605, allocations: 3.906 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.1605, allocations: 15.52 kB / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1605, allocations: 0 / 0.5906 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1605, allocations: 3.938 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1605, allocations: 0 / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1607, allocations: 165.6 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1607, allocations: 3.984 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.1608, allocations: 12 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1608, allocations: 0 / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1608, allocations: 7.984 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1608, allocations: 0 / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1608, allocations: 0 / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1611, allocations: 195.4 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.1611, allocations: 85 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.1611, allocations: 4 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.1612, allocations: 12.03 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1613, allocations: 3.984 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1613, allocations: 0 / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.465e-05/0.1613, allocations: 83.53 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1613, allocations: 3.938 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002028/0.1615, allocations: 8 kB / 0.5912 GB, free: 14.75 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.004e-05/0.1616, allocations: 91.25 kB / 0.5912 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1619, allocations: 71.94 kB / 0.5913 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1619, allocations: 0 / 0.5913 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.162, allocations: 39.98 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.1622, allocations: 7.938 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.1625, allocations: 128.8 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.1627, allocations: 0.6848 MB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.1628, allocations: 0 / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1628, allocations: 7.438 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1628, allocations: 0 / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.001949/0.1647, allocations: 491.5 kB / 0.5926 GB, free: 13.19 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: