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.0008511/0.0008512, allocations: 101.5 kB / 15.06 MB, free: 1.094 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.0008415/0.0008415, allocations: 177.3 kB / 15.95 MB, free: 208 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.234/1.234, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8293/0.8293, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 12 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 82.32 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.000701/0.1529, allocations: 307.1 kB / 0.5875 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.1531, allocations: 79.84 kB / 0.5876 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.079e-05/0.1532, allocations: 3.938 kB / 0.5876 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.307e-06/0.1532, allocations: 0 / 0.5876 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.1532, allocations: 0 / 0.5876 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1534, allocations: 19.91 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.1535, allocations: 4 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.1535, allocations: 4 kB / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.1535, allocations: 0 / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.1536, allocations: 7.984 kB / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1536, allocations: 0 / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.555e-05/0.1537, allocations: 15.98 kB / 0.5876 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.1537, allocations: 0 / 0.5876 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1537, allocations: 25.7 kB / 0.5877 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.829e-05/0.1538, allocations: 11.98 kB / 0.5877 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1538, allocations: 0 / 0.5877 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.1538, allocations: 0 / 0.5877 GB, free: 2.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1538, allocations: 3.938 kB / 0.5877 GB, free: 2.625 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.0003058/0.1542, allocations: 315.4 kB / 0.588 GB, free: 2.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1542, allocations: 8.031 kB / 0.588 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.1543, allocations: 11.98 kB / 0.588 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.591e-05/0.1545, allocations: 167 kB / 0.5882 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1545, allocations: 0 / 0.5882 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.1545, allocations: 0 / 0.5882 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1546, allocations: 45.62 kB / 0.5882 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1546, allocations: 0 / 0.5882 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1547, allocations: 4 kB / 0.5882 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1547, allocations: 0 / 0.5882 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.1547, allocations: 15.98 kB / 0.5882 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.1549, allocations: 153.7 kB / 0.5884 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.1551, allocations: 46.5 kB / 0.5884 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1551, allocations: 4 kB / 0.5884 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1551, allocations: 30.56 kB / 0.5884 GB, free: 1.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1551, allocations: 0 / 0.5884 GB, free: 1.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000202/0.1553, allocations: 65.61 kB / 0.5885 GB, free: 1.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1554, allocations: 51.41 kB / 0.5886 GB, free: 1.547 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.053e-05/0.1554, allocations: 89.86 kB / 0.5886 GB, free: 1.449 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1554, allocations: 25.7 kB / 0.5887 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.1555, allocations: 88.14 kB / 0.5888 GB, free: 1.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.1555, allocations: 16.11 kB / 0.5888 GB, free: 1.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.1555, allocations: 0 / 0.5888 GB, free: 1.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.1556, allocations: 310.8 kB / 0.5891 GB, free: 1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.1557, allocations: 8 kB / 0.5891 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.1557, allocations: 11.98 kB / 0.5891 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.02e-05/0.1558, allocations: 4.281 kB / 0.5891 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1558, allocations: 0 / 0.5891 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001355/0.1559, allocations: 61.61 kB / 0.5891 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1559, allocations: 8 kB / 0.5892 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1559, allocations: 0 / 0.5892 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.156, allocations: 3.938 kB / 0.5892 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.1563, allocations: 39.94 kB / 0.5892 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.1574, allocations: 1.317 MB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.1575, allocations: 3.938 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1575, allocations: 0 / 0.5905 GB, free: 15.41 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.1575, allocations: 111.9 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.1576, allocations: 3.953 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.618e-05/0.1576, allocations: 7.5 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1576, allocations: 4.188 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1576, allocations: 0 / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1576, allocations: 0 / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.72e-05/0.1577, allocations: 153.6 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1577, allocations: 0 / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/0.158, allocations: 51.88 kB / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1581, allocations: 4 kB / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.1581, allocations: 0 / 0.5908 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.1591, allocations: 1.314 MB / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1591, allocations: 0 / 0.5921 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.1592, allocations: 77.38 kB / 0.5922 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.1593, allocations: 81.06 kB / 0.5922 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.1593, allocations: 7.984 kB / 0.5922 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.1593, allocations: 0 / 0.5922 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.1594, allocations: 7.938 kB / 0.5923 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1594, allocations: 4 kB / 0.5923 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.212e-05/0.1594, allocations: 75.28 kB / 0.5923 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 0.5923 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001784/0.1596, allocations: 4 kB / 0.5923 GB, free: 13.29 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.1597, allocations: 103.2 kB / 0.5924 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.1601, allocations: 59.91 kB / 0.5925 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1601, allocations: 0 / 0.5925 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1604, allocations: 39.95 kB / 0.5925 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.077e-05/0.1605, allocations: 4 kB / 0.5925 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.1607, allocations: 90.97 kB / 0.5926 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.1609, allocations: 0.6847 MB / 0.5933 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.178e-05/0.161, allocations: 8 kB / 0.5933 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.161, allocations: 7.438 kB / 0.5933 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.161, allocations: 0 / 0.5933 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.001978/0.163, allocations: 374.7 kB / 0.5937 GB, free: 11.87 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: