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.001327/0.001327, allocations: 100.1 kB / 15.88 MB, free: 12 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.001577/0.001577, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8973/0.8973, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.67 kB / 0.5053 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 80.92 MB / 0.5843 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002467/0.1514, allocations: 1.492 MB / 0.5858 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.1517, allocations: 100.6 kB / 0.5859 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.1518, allocations: 0 / 0.5859 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/0.1518, allocations: 4 kB / 0.5859 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.1518, allocations: 3.938 kB / 0.5859 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.152, allocations: 15.97 kB / 0.5859 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.152, allocations: 27.86 kB / 0.5859 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.1521, allocations: 4 kB / 0.5859 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.1522, allocations: 11.98 kB / 0.586 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.27e-05/0.1522, allocations: 7.938 kB / 0.586 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1522, allocations: 0 / 0.586 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.1523, allocations: 15.98 kB / 0.586 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1523, allocations: 15.98 kB / 0.586 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.1523, allocations: 3.938 kB / 0.586 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.679e-05/0.1524, allocations: 23.95 kB / 0.586 GB, free: 3.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1524, allocations: 3.938 kB / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1524, allocations: 0 / 0.586 GB, free: 3.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1524, allocations: 0 / 0.586 GB, free: 3.273 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.0004358/0.1529, allocations: 343.7 kB / 0.5864 GB, free: 2.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1529, allocations: 8.031 kB / 0.5864 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1531, allocations: 16.92 kB / 0.5864 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.1532, allocations: 168.3 kB / 0.5865 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1533, allocations: 8.375 kB / 0.5865 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.1533, allocations: 4.359 kB / 0.5865 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1535, allocations: 58.17 kB / 0.5866 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1535, allocations: 192 / 0.5866 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1535, allocations: 3.938 kB / 0.5866 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1535, allocations: 0 / 0.5866 GB, free: 2.582 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1537, allocations: 55.94 kB / 0.5867 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1541, allocations: 253 kB / 0.5869 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1543, allocations: 54.48 kB / 0.587 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1544, allocations: 40.83 kB / 0.587 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1545, allocations: 3.938 kB / 0.587 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.1545, allocations: 30.56 kB / 0.587 GB, free: 2.082 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1545, allocations: 0 / 0.587 GB, free: 2.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004106/0.1549, allocations: 105.7 kB / 0.5871 GB, free: 1.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.436e-05/0.155, allocations: 51.41 kB / 0.5872 GB, free: 1.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.155, allocations: 105.8 kB / 0.5873 GB, free: 1.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1551, allocations: 25.7 kB / 0.5873 GB, free: 1.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.1551, allocations: 84.05 kB / 0.5874 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1551, allocations: 11.92 kB / 0.5874 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1552, allocations: 13.72 kB / 0.5874 GB, free: 1.648 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1553, allocations: 310.8 kB / 0.5877 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.1554, allocations: 35.94 kB / 0.5877 GB, free: 1.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.1555, allocations: 19.98 kB / 0.5878 GB, free: 1.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.1557, allocations: 52.81 kB / 0.5878 GB, free: 1.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1557, allocations: 256 / 0.5878 GB, free: 1.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002466/0.156, allocations: 89.55 kB / 0.5879 GB, free: 1.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.156, allocations: 8 kB / 0.5879 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.156, allocations: 4 kB / 0.5879 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.156, allocations: 3.938 kB / 0.5879 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1561, allocations: 11.98 kB / 0.5879 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1561, allocations: 0 / 0.5879 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.1562, allocations: 7.984 kB / 0.5879 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1562, allocations: 7.969 kB / 0.5879 GB, free: 1.09 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.1563, allocations: 113.8 kB / 0.588 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1563, allocations: 0 / 0.588 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.1564, allocations: 7.531 kB / 0.588 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1564, allocations: 0 / 0.588 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1564, allocations: 0 / 0.588 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1564, allocations: 7.984 kB / 0.5881 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1565, allocations: 161.6 kB / 0.5882 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1565, allocations: 0 / 0.5882 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-05/0.1566, allocations: 15.98 kB / 0.5882 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1566, allocations: 0 / 0.5882 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1567, allocations: 0 / 0.5882 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1567, allocations: 4 kB / 0.5882 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1567, allocations: 0 / 0.5882 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.157, allocations: 187.3 kB / 0.5884 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.157, allocations: 77.11 kB / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.157, allocations: 0 / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.433e-05/0.1571, allocations: 11.92 kB / 0.5885 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1571, allocations: 4 kB / 0.5885 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1572, allocations: 0 / 0.5885 GB, free: 424 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.432e-05/0.1572, allocations: 87.22 kB / 0.5886 GB, free: 336 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1572, allocations: 0 / 0.5886 GB, free: 336 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.1574, allocations: 4 kB / 0.5886 GB, free: 332 kB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.1575, allocations: 103.3 kB / 0.5887 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1578, allocations: 47.95 kB / 0.5887 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1578, allocations: 0 / 0.5887 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.1579, allocations: 27.97 kB / 0.5888 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1582, allocations: 14.09 kB / 0.5888 GB, free: 132 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1586, allocations: 156.9 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1588, allocations: 0.677 MB / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1589, allocations: 7.438 kB / 0.5896 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1589, allocations: 4 kB / 0.5896 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.001715/0.1606, allocations: 0.6245 MB / 0.5902 GB, free: 14.61 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (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)