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-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_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.0007952/0.0007952, 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.0008402/0.0008401, 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.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8284/0.8284, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 9.156 kB / 0.5068 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1502, allocations: 82.32 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0005902/0.1508, allocations: 307.1 kB / 0.5875 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002295/0.151, allocations: 83.78 kB / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.077e-05/0.1511, allocations: 0 / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.325e-06/0.1511, allocations: 0 / 0.5876 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.1511, allocations: 4 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.1513, allocations: 15.92 kB / 0.5876 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.846e-05/0.1513, allocations: 4 kB / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.1513, allocations: 0 / 0.5876 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.592e-05/0.1514, allocations: 4 kB / 0.5876 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.1514, allocations: 7.922 kB / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.1515, allocations: 4 kB / 0.5876 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.1515, allocations: 11.98 kB / 0.5876 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.1515, allocations: 3.984 kB / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.1515, allocations: 25.7 kB / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.242e-05/0.1516, allocations: 11.98 kB / 0.5877 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.1516, allocations: 0 / 0.5877 GB, free: 2.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1516, allocations: 8 kB / 0.5877 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.1516, allocations: 0 / 0.5877 GB, free: 2.598 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.000266/0.1519, allocations: 311.4 kB / 0.588 GB, free: 2.246 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.818e-05/0.1519, allocations: 8.031 kB / 0.588 GB, free: 2.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.1521, allocations: 7.984 kB / 0.588 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.387e-05/0.1522, allocations: 167 kB / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1522, allocations: 0 / 0.5882 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1522, allocations: 4 kB / 0.5882 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1523, allocations: 41.69 kB / 0.5882 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1523, allocations: 0 / 0.5882 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1524, allocations: 7.922 kB / 0.5882 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1524, allocations: 3.938 kB / 0.5882 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.838e-05/0.1524, allocations: 11.98 kB / 0.5882 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.1526, allocations: 157.7 kB / 0.5884 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1527, allocations: 42.56 kB / 0.5884 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.1527, allocations: 64 / 0.5884 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/0.1528, allocations: 38.5 kB / 0.5884 GB, free: 1.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.1528, allocations: 0 / 0.5884 GB, free: 1.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001829/0.153, allocations: 61.61 kB / 0.5885 GB, free: 1.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.153, allocations: 51.41 kB / 0.5886 GB, free: 1.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.737e-05/0.153, allocations: 89.86 kB / 0.5886 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1531, allocations: 29.7 kB / 0.5887 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.242e-05/0.1531, allocations: 80.14 kB / 0.5887 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1531, allocations: 12.12 kB / 0.5888 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1531, allocations: 0 / 0.5888 GB, free: 1.297 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1532, allocations: 318.8 kB / 0.5891 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.1533, allocations: 8 kB / 0.5891 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.1533, allocations: 11.98 kB / 0.5891 GB, free: 0.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/0.1533, allocations: 4 kB / 0.5891 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1534, allocations: 4 kB / 0.5891 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.64e-05/0.1535, allocations: 53.58 kB / 0.5891 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1535, allocations: 9.859 kB / 0.5891 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1535, allocations: 0 / 0.5891 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1535, allocations: 0 / 0.5891 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.1539, allocations: 39.94 kB / 0.5892 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.155, allocations: 1.321 MB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.155, allocations: 32 / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.155, allocations: 4 kB / 0.5905 GB, free: 15.39 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 6.608e-05/0.1551, allocations: 105.8 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.1551, allocations: 4.469 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.1551, allocations: 15.5 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.1551, allocations: 0 / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1552, allocations: 3.984 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.1552, allocations: 0 / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.996e-05/0.1553, allocations: 149.7 kB / 0.5907 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1553, allocations: 0 / 0.5907 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.1556, allocations: 51.88 kB / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1556, allocations: 0 / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1556, allocations: 4 kB / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.1566, allocations: 1.313 MB / 0.5921 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1566, allocations: 3.984 kB / 0.5921 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1568, allocations: 73.31 kB / 0.5922 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.1568, allocations: 85 kB / 0.5922 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.1568, allocations: 7.938 kB / 0.5922 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.1568, allocations: 7.984 kB / 0.5923 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.1569, allocations: 4 kB / 0.5923 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1569, allocations: 0 / 0.5923 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.229e-05/0.1569, allocations: 79.28 kB / 0.5923 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1569, allocations: 0 / 0.5923 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001741/0.1571, allocations: 4 kB / 0.5923 GB, free: 13.26 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.000114/0.1572, allocations: 102.6 kB / 0.5924 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004065/0.1576, allocations: 63.91 kB / 0.5925 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1576, allocations: 0 / 0.5925 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1579, allocations: 39.89 kB / 0.5925 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.273e-05/0.158, allocations: 4 kB / 0.5925 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.1582, allocations: 83.03 kB / 0.5926 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.1584, allocations: 0.6887 MB / 0.5933 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.1585, allocations: 0 / 0.5933 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.1585, allocations: 7.438 kB / 0.5933 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1585, allocations: 0 / 0.5933 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.001773/0.1603, allocations: 385.7 kB / 0.5937 GB, free: 11.85 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: