Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 115.5 kB / 16.37 MB, free: 5.984 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.001133/0.001134, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7947/0.7947, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.83 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3719, allocations: 80.18 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001717/0.3737, allocations: 0.6155 MB / 0.5821 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.3743, allocations: 352.8 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.3743, allocations: 1.25 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.057e-05/0.3744, allocations: 1.031 kB / 0.5824 GB, free: 26.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.118e-05/0.3744, allocations: 3.938 kB / 0.5824 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.3748, allocations: 118.7 kB / 0.5826 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.284e-05/0.3749, allocations: 23.64 kB / 0.5826 GB, free: 26.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.375, allocations: 10.08 kB / 0.5826 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.375, allocations: 15.62 kB / 0.5826 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.375, allocations: 11.83 kB / 0.5826 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3751, allocations: 1.406 kB / 0.5826 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.3754, allocations: 275.4 kB / 0.5829 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.3754, allocations: 5.25 kB / 0.5829 GB, free: 26.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.3755, allocations: 14.77 kB / 0.5829 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3756, allocations: 97.88 kB / 0.583 GB, free: 26.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3756, allocations: 5.531 kB / 0.583 GB, free: 26.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3757, allocations: 0 / 0.583 GB, free: 26.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3757, allocations: 0 / 0.583 GB, free: 26.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000288/0.376, allocations: 355.1 kB / 0.5833 GB, free: 26.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.376, allocations: 10.25 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.3761, allocations: 5.062 kB / 0.5834 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.415e-05/0.3761, allocations: 175 kB / 0.5835 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3761, allocations: 4.969 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.3762, allocations: 3.031 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.239e-05/0.3763, allocations: 56.05 kB / 0.5836 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3763, allocations: 4.188 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3763, allocations: 7.875 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3763, allocations: 4.312 kB / 0.5836 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.594e-05/0.3764, allocations: 17.11 kB / 0.5836 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.3765, allocations: 170.9 kB / 0.5838 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.3766, allocations: 60.02 kB / 0.5838 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/0.3766, allocations: 25.78 kB / 0.5839 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.3772, allocations: 460.2 kB / 0.5843 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.3772, allocations: 36.81 kB / 0.5843 GB, free: 25.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3772, allocations: 0 / 0.5843 GB, free: 25.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001081/0.3783, allocations: 0.5904 MB / 0.5849 GB, free: 24.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.667e-05/0.3784, allocations: 55.41 kB / 0.585 GB, free: 24.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.141e-05/0.3784, allocations: 98.28 kB / 0.5851 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3784, allocations: 33.27 kB / 0.5851 GB, free: 24.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.48e-05/0.3784, allocations: 82.08 kB / 0.5852 GB, free: 24.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.3785, allocations: 38.92 kB / 0.5852 GB, free: 24.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3785, allocations: 28.88 kB / 0.5852 GB, free: 24.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.3786, allocations: 317 kB / 0.5855 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.3786, allocations: 18.5 kB / 0.5856 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.3786, allocations: 21.3 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.3787, allocations: 60.22 kB / 0.5856 GB, free: 23.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3787, allocations: 0 / 0.5856 GB, free: 23.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000145/0.3789, allocations: 104.2 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3789, allocations: 4.844 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3789, allocations: 0.7188 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3789, allocations: 1.188 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.379, allocations: 22.36 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3791, allocations: 2.219 kB / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.3791, allocations: 0 / 0.5858 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.3791, allocations: 8.688 kB / 0.5858 GB, free: 23.82 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 (13): * Single equations (assignments): 13 * 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 5.153e-05/0.3792, allocations: 116.2 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.3792, allocations: 12.12 kB / 0.5859 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.3794, allocations: 109.2 kB / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3794, allocations: 0 / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3794, allocations: 1.156 kB / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3794, allocations: 1.906 kB / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3797, allocations: 361.2 kB / 0.5863 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3797, allocations: 3.938 kB / 0.5863 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3798, allocations: 20.95 kB / 0.5864 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3798, allocations: 1.125 kB / 0.5864 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3798, allocations: 1.969 kB / 0.5864 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3798, allocations: 5.031 kB / 0.5864 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3799, allocations: 1.031 kB / 0.5864 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.3801, allocations: 219.9 kB / 0.5866 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.3801, allocations: 96.27 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3801, allocations: 2.188 kB / 0.5867 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.201e-05/0.3802, allocations: 10.02 kB / 0.5867 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.3802, allocations: 7.562 kB / 0.5867 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3803, allocations: 3.594 kB / 0.5867 GB, free: 22.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.96e-05/0.3803, allocations: 82.27 kB / 0.5868 GB, free: 22.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3803, allocations: 0 / 0.5868 GB, free: 22.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000289/0.3806, allocations: 45.56 kB / 0.5868 GB, free: 22.86 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002102/0.3808, allocations: 142.9 kB / 0.587 GB, free: 22.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000142/0.3809, allocations: 66.72 kB / 0.587 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.381, allocations: 2.219 kB / 0.587 GB, free: 22.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.381, allocations: 37.27 kB / 0.5871 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.3812, allocations: 2.688 kB / 0.5871 GB, free: 22.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.3815, allocations: 173.6 kB / 0.5872 GB, free: 22.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.878e-05/0.3816, allocations: 0.6891 MB / 0.5879 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.3817, allocations: 7.125 kB / 0.5879 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.195e-05/0.3817, allocations: 12.47 kB / 0.5879 GB, free: 21.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3817, allocations: 0.625 kB / 0.5879 GB, free: 21.85 MB / 446.1 MB Notification: Performance of Templates: time 0.003522/0.3852, allocations: 1.389 MB / 0.5893 GB, free: 21.22 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)