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.001507/0.001508, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001696/0.001696, allocations: 195.8 kB / 16.14 MB, free: 6.656 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7668/0.7668, allocations: 132.2 MB / 422.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.19 kB / 0.5011 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3986, allocations: 80.19 MB / 0.5794 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001667/0.4003, allocations: 0.6682 MB / 0.5801 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006258/0.4009, allocations: 367.3 kB / 0.5804 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.144e-05/0.401, allocations: 0 / 0.5804 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.401, allocations: 0 / 0.5804 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.784e-05/0.401, allocations: 4.875 kB / 0.5804 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.4013, allocations: 70.53 kB / 0.5805 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.754e-05/0.4014, allocations: 15 kB / 0.5805 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.4014, allocations: 2.047 kB / 0.5805 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.4014, allocations: 7.062 kB / 0.5805 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.856e-05/0.4015, allocations: 6.672 kB / 0.5805 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.4015, allocations: 1.5 kB / 0.5805 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.4019, allocations: 275 kB / 0.5808 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.4019, allocations: 1.625 kB / 0.5808 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.4019, allocations: 6.266 kB / 0.5808 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.4021, allocations: 85.41 kB / 0.5809 GB, free: 3.762 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4021, allocations: 0.7812 kB / 0.5809 GB, free: 3.762 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.4021, allocations: 0 / 0.5809 GB, free: 3.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.4021, allocations: 4 kB / 0.5809 GB, free: 3.758 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.0002798/0.4024, allocations: 345.6 kB / 0.5812 GB, free: 3.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4025, allocations: 8.531 kB / 0.5812 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.4025, allocations: 2.531 kB / 0.5812 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.4026, allocations: 170.2 kB / 0.5814 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4026, allocations: 1.156 kB / 0.5814 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.4026, allocations: 10.16 kB / 0.5814 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.68e-05/0.4027, allocations: 32.52 kB / 0.5814 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.4027, allocations: 5 kB / 0.5814 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4028, allocations: 4.547 kB / 0.5815 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.4028, allocations: 1.219 kB / 0.5815 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.4028, allocations: 2.219 kB / 0.5815 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.4029, allocations: 152.1 kB / 0.5816 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.403, allocations: 24.52 kB / 0.5816 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.403, allocations: 12.19 kB / 0.5816 GB, free: 2.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.4036, allocations: 457 kB / 0.5821 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.4036, allocations: 31.41 kB / 0.5821 GB, free: 2.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4036, allocations: 0.8125 kB / 0.5821 GB, free: 2.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000448/0.4041, allocations: 261.5 kB / 0.5823 GB, free: 2.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.4041, allocations: 57.5 kB / 0.5824 GB, free: 2.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.567e-05/0.4042, allocations: 93.25 kB / 0.5825 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.4042, allocations: 25.7 kB / 0.5825 GB, free: 1.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.297e-05/0.4042, allocations: 80.92 kB / 0.5826 GB, free: 1.848 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.4042, allocations: 11.7 kB / 0.5826 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.4042, allocations: 18.64 kB / 0.5826 GB, free: 1.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.4043, allocations: 320.1 kB / 0.5829 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.4043, allocations: 4.328 kB / 0.5829 GB, free: 1.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.4043, allocations: 23.97 kB / 0.583 GB, free: 1.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.4044, allocations: 29.03 kB / 0.583 GB, free: 1.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4044, allocations: 4 kB / 0.583 GB, free: 1.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.628e-05/0.4045, allocations: 52.47 kB / 0.583 GB, free: 1.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4045, allocations: 8.891 kB / 0.583 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4045, allocations: 1.281 kB / 0.583 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.4045, allocations: 1.344 kB / 0.583 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.713e-05/0.4046, allocations: 6.969 kB / 0.5831 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4046, allocations: 0.8125 kB / 0.5831 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.4046, allocations: 0.6875 kB / 0.5831 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4046, allocations: 2.891 kB / 0.5831 GB, free: 1.406 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.002e-05/0.4047, allocations: 120.9 kB / 0.5832 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.4047, allocations: 10.92 kB / 0.5832 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.4049, allocations: 57.75 kB / 0.5832 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4049, allocations: 2.328 kB / 0.5832 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4049, allocations: 0 / 0.5832 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.4049, allocations: 0 / 0.5832 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.278e-05/0.4049, allocations: 157.8 kB / 0.5834 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.405, allocations: 0 / 0.5834 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.405, allocations: 9.828 kB / 0.5834 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.405, allocations: 5.672 kB / 0.5834 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.405, allocations: 0 / 0.5834 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.405, allocations: 1.094 kB / 0.5834 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.405, allocations: 0.75 kB / 0.5834 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.4052, allocations: 75.41 kB / 0.5835 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.481e-05/0.4052, allocations: 78.53 kB / 0.5836 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4052, allocations: 5.172 kB / 0.5836 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.135e-05/0.4053, allocations: 6.328 kB / 0.5836 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.4053, allocations: 6.078 kB / 0.5836 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.4053, allocations: 1.25 kB / 0.5836 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.895e-05/0.4053, allocations: 82.55 kB / 0.5837 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4053, allocations: 0 / 0.5837 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.4055, allocations: 23.67 kB / 0.5837 GB, free: 0.7617 MB / 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.0001704/0.4057, allocations: 125.2 kB / 0.5838 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.318e-05/0.4058, allocations: 25.55 kB / 0.5838 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4058, allocations: 0 / 0.5838 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/0.4058, allocations: 11.06 kB / 0.5838 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.406, allocations: 2.266 kB / 0.5838 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.4062, allocations: 115.4 kB / 0.5839 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.4063, allocations: 0.6759 MB / 0.5846 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.4064, allocations: 8.062 kB / 0.5846 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.4064, allocations: 14.12 kB / 0.5846 GB, free: 15.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4064, allocations: 0 / 0.5846 GB, free: 15.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002966/0.4094, allocations: 0.8519 MB / 0.5855 GB, free: 15.74 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)