Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001095/0.001095, allocations: 108.6 kB / 15.73 MB, free: 76 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.001094/0.001094, allocations: 189.9 kB / 16.66 MB, free: 6.59 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.358/1.358, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7653/0.7653, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.55 kB / 0.5813 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1794, allocations: 80.21 MB / 0.6597 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002571/0.182, allocations: 1.426 MB / 0.6611 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.1828, allocations: 391.4 kB / 0.6614 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.099e-05/0.1829, allocations: 4 kB / 0.6614 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.1829, allocations: 3.938 kB / 0.6614 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.183, allocations: 3.938 kB / 0.6615 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.1835, allocations: 113.6 kB / 0.6616 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.1836, allocations: 23.92 kB / 0.6616 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1837, allocations: 8 kB / 0.6616 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.853e-05/0.1837, allocations: 15.92 kB / 0.6616 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.1838, allocations: 11.98 kB / 0.6616 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.1838, allocations: 7.938 kB / 0.6616 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.1842, allocations: 275.6 kB / 0.6619 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1842, allocations: 4 kB / 0.6619 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1842, allocations: 7.938 kB / 0.6619 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1845, allocations: 111.6 kB / 0.662 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1845, allocations: 0 / 0.662 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1845, allocations: 4 kB / 0.662 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1845, allocations: 0 / 0.662 GB, free: 11.23 MB / 0.4981 GB 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.0005227/0.185, allocations: 367.1 kB / 0.6624 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1851, allocations: 8.031 kB / 0.6624 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.1851, allocations: 8.875 kB / 0.6624 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1853, allocations: 164.4 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.1853, allocations: 384 / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1853, allocations: 4.312 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1855, allocations: 50.23 kB / 0.6626 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1855, allocations: 4.188 kB / 0.6626 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1855, allocations: 3.938 kB / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1855, allocations: 4 kB / 0.6626 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.1857, allocations: 31.97 kB / 0.6626 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.186, allocations: 253 kB / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1862, allocations: 50.42 kB / 0.6629 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.1863, allocations: 24.91 kB / 0.6629 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.1869, allocations: 453.5 kB / 0.6634 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1869, allocations: 34.56 kB / 0.6634 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-05/0.187, allocations: 0 / 0.6634 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003498/0.1873, allocations: 89.53 kB / 0.6635 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1874, allocations: 55.41 kB / 0.6635 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.1874, allocations: 109.9 kB / 0.6636 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1875, allocations: 29.7 kB / 0.6637 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.1875, allocations: 88.08 kB / 0.6638 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1875, allocations: 3.953 kB / 0.6638 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1876, allocations: 21.7 kB / 0.6638 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1877, allocations: 310.8 kB / 0.6641 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.1878, allocations: 15.98 kB / 0.6641 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.1878, allocations: 19.98 kB / 0.6641 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.188, allocations: 40.81 kB / 0.6642 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.188, allocations: 0 / 0.6642 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.1882, allocations: 73.59 kB / 0.6642 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1882, allocations: 7.984 kB / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1882, allocations: 0 / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1882, allocations: 8.031 kB / 0.6642 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.1883, allocations: 8 kB / 0.6642 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1883, allocations: 3.984 kB / 0.6643 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.1884, allocations: 7.984 kB / 0.6643 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1884, allocations: 0 / 0.6643 GB, free: 8.609 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 0.0001215/0.1885, allocations: 113.8 kB / 0.6644 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.1886, allocations: 3.953 kB / 0.6644 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.1888, allocations: 81.17 kB / 0.6645 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1888, allocations: 0 / 0.6645 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1888, allocations: 0 / 0.6645 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1888, allocations: 0 / 0.6645 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.189, allocations: 161.6 kB / 0.6646 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.189, allocations: 0 / 0.6646 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.189, allocations: 11.92 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.189, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.1891, allocations: 0 / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1891, allocations: 8.281 kB / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1891, allocations: 4 kB / 0.6646 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1893, allocations: 163.5 kB / 0.6648 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.1894, allocations: 81.05 kB / 0.6649 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1894, allocations: 3.984 kB / 0.6649 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-05/0.1895, allocations: 15.97 kB / 0.6649 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1895, allocations: 4 kB / 0.6649 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.1895, allocations: 0 / 0.6649 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.1896, allocations: 83.27 kB / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1896, allocations: 0 / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1898, allocations: 16 kB / 0.665 GB, free: 7.766 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.0001765/0.19, allocations: 111.2 kB / 0.6651 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1902, allocations: 39.91 kB / 0.6651 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1902, allocations: 0 / 0.6651 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.273e-05/0.1903, allocations: 19.98 kB / 0.6651 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.1906, allocations: 15.86 kB / 0.6652 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.1909, allocations: 105.4 kB / 0.6653 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1912, allocations: 0.6729 MB / 0.6659 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.1912, allocations: 12.11 kB / 0.6659 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.1912, allocations: 7.438 kB / 0.6659 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1912, allocations: 0 / 0.6659 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.002891/0.1941, allocations: 0.7108 MB / 0.6666 GB, free: 6.016 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)