Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008233/0.0008229, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.00653/0.00653, allocations: 170.3 kB / 16.27 MB, free: 6.66 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.374/1.374, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003819, allocations: 16.5 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4679, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0008845/0.4688, allocations: 329.2 kB / 0.584 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.4697, allocations: 361.3 kB / 0.5843 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.677e-05/0.4697, allocations: 1.219 kB / 0.5843 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.4697, allocations: 3.938 kB / 0.5843 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.58e-05/0.4697, allocations: 0.6562 kB / 0.5843 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.4703, allocations: 77.02 kB / 0.5844 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.752e-05/0.4704, allocations: 11.61 kB / 0.5844 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.4704, allocations: 1.703 kB / 0.5844 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.575e-05/0.4705, allocations: 8.469 kB / 0.5844 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.4705, allocations: 7.062 kB / 0.5844 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.4706, allocations: 1.75 kB / 0.5845 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000634/0.4712, allocations: 270.2 kB / 0.5847 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.4712, allocations: 1.531 kB / 0.5847 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.4713, allocations: 36.69 kB / 0.5847 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.4715, allocations: 87.06 kB / 0.5848 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4715, allocations: 4 kB / 0.5848 GB, free: 3.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4715, allocations: 1.688 kB / 0.5848 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.4716, allocations: 1.062 kB / 0.5848 GB, free: 3.426 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003458/0.4719, allocations: 333.5 kB / 0.5852 GB, free: 3.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.472, allocations: 10.31 kB / 0.5852 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.472, allocations: 7.188 kB / 0.5852 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.4721, allocations: 163 kB / 0.5853 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.4721, allocations: 384 / 0.5853 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4722, allocations: 7.672 kB / 0.5853 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4723, allocations: 40.06 kB / 0.5854 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-06/0.4723, allocations: 5 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4723, allocations: 4.594 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4723, allocations: 0.9688 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.4724, allocations: 2.906 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.4725, allocations: 151.3 kB / 0.5855 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.097e-05/0.4726, allocations: 20.81 kB / 0.5855 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.4726, allocations: 11.47 kB / 0.5856 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.4732, allocations: 461 kB / 0.586 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.4733, allocations: 32.84 kB / 0.586 GB, free: 2.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.4733, allocations: 7.938 kB / 0.586 GB, free: 2.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005137/0.4738, allocations: 257.5 kB / 0.5863 GB, free: 1.801 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4739, allocations: 52.02 kB / 0.5863 GB, free: 1.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.977e-05/0.4739, allocations: 94.28 kB / 0.5864 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.4739, allocations: 27.02 kB / 0.5864 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.042e-05/0.474, allocations: 80.48 kB / 0.5865 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.474, allocations: 14.86 kB / 0.5865 GB, free: 1.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.474, allocations: 11.03 kB / 0.5865 GB, free: 1.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.4741, allocations: 313.6 kB / 0.5868 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.4741, allocations: 8.328 kB / 0.5869 GB, free: 1.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.4741, allocations: 15.23 kB / 0.5869 GB, free: 1.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.4742, allocations: 31.66 kB / 0.5869 GB, free: 1.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4742, allocations: 4.906 kB / 0.5869 GB, free: 1.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001097/0.4743, allocations: 53.17 kB / 0.587 GB, free: 1.098 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4743, allocations: 9.188 kB / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4743, allocations: 0 / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4744, allocations: 1.812 kB / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.4744, allocations: 7.188 kB / 0.587 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4744, allocations: 4.875 kB / 0.587 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.4745, allocations: 1.891 kB / 0.587 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.4745, allocations: 1.312 kB / 0.587 GB, free: 1.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.884e-05/0.4746, allocations: 118.1 kB / 0.5871 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.4746, allocations: 9.344 kB / 0.5871 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.4747, allocations: 62.64 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4747, allocations: 2.094 kB / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4748, allocations: 0 / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4748, allocations: 0 / 0.5872 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.4748, allocations: 158.1 kB / 0.5873 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4749, allocations: 4 kB / 0.5873 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.4749, allocations: 6.125 kB / 0.5873 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4749, allocations: 7.875 kB / 0.5873 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.4749, allocations: 1.531 kB / 0.5873 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4749, allocations: 0.75 kB / 0.5873 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.475, allocations: 1.281 kB / 0.5873 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.4751, allocations: 79.2 kB / 0.5874 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.4751, allocations: 78.66 kB / 0.5875 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4752, allocations: 5.391 kB / 0.5875 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.4752, allocations: 5.438 kB / 0.5875 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.4752, allocations: 2.078 kB / 0.5875 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4752, allocations: 1.688 kB / 0.5875 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.4753, allocations: 77.64 kB / 0.5876 GB, free: 460 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4753, allocations: 0 / 0.5876 GB, free: 460 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.4755, allocations: 25.36 kB / 0.5876 GB, free: 456 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002235/0.4758, allocations: 127.8 kB / 0.5877 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4759, allocations: 21.09 kB / 0.5877 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4759, allocations: 1 kB / 0.5877 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.4759, allocations: 11.03 kB / 0.5878 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.4761, allocations: 2.891 kB / 0.5878 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002491/0.4763, allocations: 118.9 kB / 0.5879 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.4766, allocations: 0.676 MB / 0.5885 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.4766, allocations: 11.89 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.4766, allocations: 13.47 kB / 0.5886 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4766, allocations: 0 / 0.5886 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.004001/0.4807, allocations: 0.84 MB / 0.5894 GB, free: 15.43 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)