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.001145/0.001145, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001035/0.001035, allocations: 191 kB / 17.29 MB, free: 5.516 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8282/0.8282, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3719, allocations: 80.19 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002415/0.3744, allocations: 1.424 MB / 0.5829 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006244/0.375, allocations: 390.7 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.3751, allocations: 1.25 kB / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3751, allocations: 0 / 0.5833 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.441e-05/0.3752, allocations: 3.938 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.3756, allocations: 114.5 kB / 0.5834 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.3757, allocations: 34.12 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.598e-05/0.3757, allocations: 2.719 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.431e-05/0.3758, allocations: 15.08 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.406e-05/0.3758, allocations: 11.88 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3758, allocations: 2.594 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.3762, allocations: 275.5 kB / 0.5837 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.3762, allocations: 7.938 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.3762, allocations: 10.47 kB / 0.5837 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3764, allocations: 107.6 kB / 0.5838 GB, free: 25.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3764, allocations: 3.75 kB / 0.5838 GB, free: 25.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3764, allocations: 3.938 kB / 0.5838 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3764, allocations: 0.7812 kB / 0.5838 GB, free: 25.86 MB / 446.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.0003599/0.3768, allocations: 366.3 kB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3768, allocations: 7.094 kB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.3769, allocations: 12.67 kB / 0.5842 GB, free: 25.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.3769, allocations: 164.8 kB / 0.5843 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3769, allocations: 7.562 kB / 0.5844 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.377, allocations: 4.375 kB / 0.5844 GB, free: 25.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3771, allocations: 48.83 kB / 0.5844 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3771, allocations: 192 / 0.5844 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3771, allocations: 3.938 kB / 0.5844 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3772, allocations: 1.125 kB / 0.5844 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3773, allocations: 40.27 kB / 0.5844 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.3775, allocations: 246.1 kB / 0.5847 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3777, allocations: 44.83 kB / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.3778, allocations: 24.78 kB / 0.5847 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/0.3784, allocations: 453.3 kB / 0.5852 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3784, allocations: 33.38 kB / 0.5852 GB, free: 24.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.973e-06/0.3784, allocations: 3.984 kB / 0.5852 GB, free: 24.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.00036/0.3788, allocations: 91.98 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.3788, allocations: 53.84 kB / 0.5854 GB, free: 24.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.3789, allocations: 106.3 kB / 0.5855 GB, free: 24.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3789, allocations: 25.7 kB / 0.5855 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.3789, allocations: 85.33 kB / 0.5856 GB, free: 23.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.3789, allocations: 5.375 kB / 0.5856 GB, free: 23.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.379, allocations: 21.45 kB / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.379, allocations: 310.8 kB / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.977e-05/0.3791, allocations: 15.64 kB / 0.5859 GB, free: 23.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.749e-05/0.3792, allocations: 17.61 kB / 0.5859 GB, free: 23.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3793, allocations: 41 kB / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3793, allocations: 2.188 kB / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.3795, allocations: 74.02 kB / 0.586 GB, free: 23.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3796, allocations: 11.3 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3796, allocations: 3.938 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3796, allocations: 0.5938 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.3797, allocations: 6.406 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3797, allocations: 1.312 kB / 0.586 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.3797, allocations: 6.641 kB / 0.5861 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3798, allocations: 7.438 kB / 0.5861 GB, free: 23.54 MB / 446.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 4.533e-05/0.3798, allocations: 112.2 kB / 0.5862 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.3798, allocations: 1.219 kB / 0.5862 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.3801, allocations: 83.45 kB / 0.5862 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3801, allocations: 0 / 0.5862 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3801, allocations: 1.094 kB / 0.5863 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3801, allocations: 0 / 0.5863 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.3802, allocations: 163 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3802, allocations: 0 / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.3803, allocations: 10.3 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3803, allocations: 2.344 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3803, allocations: 4 kB / 0.5864 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3803, allocations: 2.219 kB / 0.5864 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3803, allocations: 1.281 kB / 0.5864 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.3805, allocations: 164.9 kB / 0.5866 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.3805, allocations: 78.73 kB / 0.5867 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3805, allocations: 4.609 kB / 0.5867 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.3806, allocations: 9 kB / 0.5867 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.3807, allocations: 6.062 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3807, allocations: 1.125 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.208e-05/0.3807, allocations: 84.14 kB / 0.5868 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3807, allocations: 1.344 kB / 0.5868 GB, free: 22.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.3809, allocations: 17.41 kB / 0.5868 GB, free: 22.81 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.000138/0.3811, allocations: 118 kB / 0.5869 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3813, allocations: 36.62 kB / 0.5869 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3813, allocations: 0 / 0.5869 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.3814, allocations: 19.05 kB / 0.5869 GB, free: 22.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3816, allocations: 13.67 kB / 0.587 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.3819, allocations: 119.4 kB / 0.5871 GB, free: 22.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.382, allocations: 0.6738 MB / 0.5877 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.382, allocations: 9.047 kB / 0.5877 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.3821, allocations: 8.656 kB / 0.5877 GB, free: 21.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3821, allocations: 1.969 kB / 0.5877 GB, free: 21.85 MB / 446.1 MB Notification: Performance of Templates: time 0.002693/0.3848, allocations: 0.704 MB / 0.5884 GB, free: 21.52 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)