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.001021/0.001021, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.009167/0.009167, allocations: 171 kB / 16.26 MB, free: 6.613 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.748/0.748, allocations: 132.4 MB / 423.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 12.75 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4406, allocations: 81.58 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001613/0.4423, allocations: 1.163 MB / 0.5848 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007414/0.4431, allocations: 407.3 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.4431, allocations: 1.062 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.4431, allocations: 2.297 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.376e-05/0.4432, allocations: 4.531 kB / 0.5852 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.4435, allocations: 75.92 kB / 0.5853 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.4436, allocations: 29.5 kB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.4437, allocations: 3.578 kB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.558e-05/0.4438, allocations: 8.844 kB / 0.5853 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.4438, allocations: 10.05 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.4438, allocations: 1.156 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.4444, allocations: 276.6 kB / 0.5856 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.4444, allocations: 1.5 kB / 0.5856 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.4444, allocations: 41.05 kB / 0.5856 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.4446, allocations: 103.3 kB / 0.5857 GB, free: 2.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4447, allocations: 0 / 0.5857 GB, free: 2.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4447, allocations: 0 / 0.5857 GB, free: 2.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.4447, allocations: 0 / 0.5857 GB, free: 2.695 MB / 430.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.0004321/0.4451, allocations: 365.4 kB / 0.5861 GB, free: 2.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4452, allocations: 13.69 kB / 0.5861 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.4452, allocations: 6.797 kB / 0.5861 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/0.4453, allocations: 176.3 kB / 0.5863 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4453, allocations: 384 / 0.5863 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.4454, allocations: 6.031 kB / 0.5863 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4456, allocations: 54.83 kB / 0.5863 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.4456, allocations: 192 / 0.5863 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4456, allocations: 4.844 kB / 0.5863 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4456, allocations: 0 / 0.5863 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.4458, allocations: 47.25 kB / 0.5864 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.4462, allocations: 253.2 kB / 0.5866 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.4463, allocations: 50.27 kB / 0.5867 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.4465, allocations: 28.89 kB / 0.5867 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.4472, allocations: 460.3 kB / 0.5871 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.4472, allocations: 36.48 kB / 0.5872 GB, free: 1.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.4472, allocations: 0 / 0.5872 GB, free: 1.215 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005019/0.4477, allocations: 100.1 kB / 0.5873 GB, free: 1.172 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.4478, allocations: 56.19 kB / 0.5873 GB, free: 1.105 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.4479, allocations: 105 kB / 0.5874 GB, free: 1.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.4479, allocations: 29.7 kB / 0.5874 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.4479, allocations: 86.34 kB / 0.5875 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.448, allocations: 5.656 kB / 0.5875 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.448, allocations: 14.5 kB / 0.5875 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.4481, allocations: 313.7 kB / 0.5878 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4482, allocations: 18.61 kB / 0.5879 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.959e-05/0.4483, allocations: 28.25 kB / 0.5879 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.4485, allocations: 47.7 kB / 0.5879 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4485, allocations: 0 / 0.5879 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002736/0.4488, allocations: 93.89 kB / 0.588 GB, free: 484 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4488, allocations: 5.406 kB / 0.588 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4488, allocations: 0 / 0.588 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4488, allocations: 0.8125 kB / 0.588 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.449, allocations: 12.58 kB / 0.588 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.449, allocations: 4.031 kB / 0.588 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.449, allocations: 11.97 kB / 0.5881 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.4491, allocations: 1.766 kB / 0.5881 GB, free: 476 kB / 430.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 6.48e-05/0.4491, allocations: 111.8 kB / 0.5882 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.4492, allocations: 6.891 kB / 0.5882 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.4495, allocations: 90.12 kB / 0.5883 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4495, allocations: 1.031 kB / 0.5883 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4495, allocations: 0.6094 kB / 0.5883 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4495, allocations: 0.8125 kB / 0.5883 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.4497, allocations: 165.5 kB / 0.5884 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4497, allocations: 0 / 0.5884 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.4497, allocations: 16.19 kB / 0.5884 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4498, allocations: 0 / 0.5884 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4498, allocations: 1.797 kB / 0.5884 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4498, allocations: 0 / 0.5884 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4498, allocations: 1.031 kB / 0.5884 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.4501, allocations: 181.1 kB / 0.5886 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.4502, allocations: 79.73 kB / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4502, allocations: 0 / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.4503, allocations: 9.484 kB / 0.5887 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.4504, allocations: 6.562 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4504, allocations: 5.031 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.956e-05/0.4504, allocations: 90.56 kB / 0.5888 GB, free: 15.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4504, allocations: 0 / 0.5888 GB, free: 15.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4507, allocations: 12.59 kB / 0.5888 GB, free: 15.76 MB / 446.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.0002352/0.4509, allocations: 107.7 kB / 0.5889 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.4512, allocations: 54.52 kB / 0.589 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4512, allocations: 0 / 0.589 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.817e-05/0.4513, allocations: 22.02 kB / 0.589 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4516, allocations: 9.219 kB / 0.589 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.4519, allocations: 128.4 kB / 0.5891 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.4522, allocations: 0.6781 MB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.4522, allocations: 1.734 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.4523, allocations: 8.469 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4523, allocations: 0 / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Templates: time 0.003626/0.4559, allocations: 0.6342 MB / 0.5904 GB, free: 14.75 MB / 446.1 MB 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)