Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, 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.001162/0.001162, allocations: 184.3 kB / 16.92 MB, free: 6.926 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9083/0.9083, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 12 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 82.31 MB / 0.5886 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001503/0.1549, allocations: 1.157 MB / 0.5897 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007183/0.1557, allocations: 399.8 kB / 0.5901 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.1557, allocations: 4 kB / 0.5901 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.1557, allocations: 3.938 kB / 0.5901 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.77e-05/0.1558, allocations: 3.938 kB / 0.5901 GB, free: 1.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1561, allocations: 75.84 kB / 0.5902 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.1562, allocations: 23.94 kB / 0.5902 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.255e-05/0.1563, allocations: 7.984 kB / 0.5902 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.1563, allocations: 3.984 kB / 0.5902 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.1563, allocations: 19.92 kB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1564, allocations: 0 / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003467/0.1567, allocations: 275.7 kB / 0.5905 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1567, allocations: 7.922 kB / 0.5905 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.1568, allocations: 33.64 kB / 0.5906 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1569, allocations: 63.88 kB / 0.5906 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1569, allocations: 4 kB / 0.5906 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1569, allocations: 3.938 kB / 0.5906 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.1569, allocations: 0 / 0.5906 GB, free: 0.5234 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.0004282/0.1574, allocations: 363.7 kB / 0.591 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1574, allocations: 12.03 kB / 0.591 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1575, allocations: 0.9375 kB / 0.591 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.1576, allocations: 172.3 kB / 0.5912 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1576, allocations: 384 / 0.5912 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.1576, allocations: 384 / 0.5912 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1578, allocations: 58.23 kB / 0.5912 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1578, allocations: 192 / 0.5912 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.1578, allocations: 7.875 kB / 0.5912 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1579, allocations: 4 kB / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.158, allocations: 43.97 kB / 0.5913 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.1584, allocations: 256.9 kB / 0.5915 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1585, allocations: 46.5 kB / 0.5916 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.1586, allocations: 32.89 kB / 0.5916 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006479/0.1593, allocations: 457.5 kB / 0.592 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.1593, allocations: 34.56 kB / 0.5921 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.1593, allocations: 0 / 0.5921 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003977/0.1597, allocations: 105.7 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1597, allocations: 51.41 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.1598, allocations: 109.8 kB / 0.5923 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1598, allocations: 25.7 kB / 0.5923 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.1599, allocations: 84.14 kB / 0.5924 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.1599, allocations: 15.78 kB / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.1599, allocations: 9.719 kB / 0.5924 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1601, allocations: 318.8 kB / 0.5927 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.1601, allocations: 24.02 kB / 0.5928 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.1602, allocations: 19.98 kB / 0.5928 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1604, allocations: 48.89 kB / 0.5928 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1604, allocations: 4 kB / 0.5928 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002289/0.1607, allocations: 89.44 kB / 0.5929 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1607, allocations: 4 kB / 0.5929 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1607, allocations: 0 / 0.5929 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1607, allocations: 4 kB / 0.5929 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.1608, allocations: 11.98 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1608, allocations: 3.984 kB / 0.5929 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.219e-05/0.1609, allocations: 15.97 kB / 0.593 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1609, allocations: 4 kB / 0.593 GB, free: 13.82 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.1609, allocations: 113.8 kB / 0.5931 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.161, allocations: 0 / 0.5931 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.1612, allocations: 89.12 kB / 0.5932 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1612, allocations: 4.031 kB / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1613, allocations: 256 / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1613, allocations: 0 / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1614, allocations: 165.6 kB / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1614, allocations: 0 / 0.5933 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.1615, allocations: 15.98 kB / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1615, allocations: 0 / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1615, allocations: 0 / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1615, allocations: 0 / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1615, allocations: 0 / 0.5933 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1618, allocations: 183.4 kB / 0.5935 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.1618, allocations: 81.02 kB / 0.5936 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1618, allocations: 0 / 0.5936 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.809e-05/0.1619, allocations: 19.95 kB / 0.5936 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.162, allocations: 0 / 0.5936 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.162, allocations: 0 / 0.5936 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.162, allocations: 91.27 kB / 0.5937 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.413e-06/0.162, allocations: 0 / 0.5937 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002301/0.1623, allocations: 15.94 kB / 0.5937 GB, free: 12.95 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 (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.000164/0.1624, allocations: 99.25 kB / 0.5938 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1627, allocations: 55.95 kB / 0.5939 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1627, allocations: 0 / 0.5939 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.433e-05/0.1628, allocations: 28.05 kB / 0.5939 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.1631, allocations: 7.938 kB / 0.5939 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1634, allocations: 145.5 kB / 0.594 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1636, allocations: 0.6809 MB / 0.5947 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.1636, allocations: 7.438 kB / 0.5947 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1636, allocations: 0 / 0.5947 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.001961/0.1656, allocations: 0.6968 MB / 0.5954 GB, free: 11.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)