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.001257/0.001257, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001079/0.00108, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8133/0.8133, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.445, allocations: 80.19 MB / 0.5815 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001936/0.447, allocations: 0.5895 MB / 0.5821 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.4476, allocations: 335.3 kB / 0.5824 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.4477, allocations: 5.781 kB / 0.5824 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.4477, allocations: 0.7812 kB / 0.5824 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.441e-05/0.4477, allocations: 3.938 kB / 0.5824 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.4482, allocations: 110.6 kB / 0.5825 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.718e-05/0.4483, allocations: 8.469 kB / 0.5825 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.4483, allocations: 6.641 kB / 0.5825 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.4483, allocations: 6.609 kB / 0.5825 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.4484, allocations: 3.125 kB / 0.5825 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4484, allocations: 1.125 kB / 0.5825 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.4488, allocations: 277.9 kB / 0.5828 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.4488, allocations: 5.125 kB / 0.5828 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.4488, allocations: 6.875 kB / 0.5828 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.4489, allocations: 91.91 kB / 0.5829 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.449, allocations: 2.25 kB / 0.5829 GB, free: 26.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.449, allocations: 0 / 0.5829 GB, free: 26.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.449, allocations: 3.781 kB / 0.5829 GB, free: 26.91 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002913/0.4493, allocations: 339.4 kB / 0.5832 GB, free: 26.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4493, allocations: 9.719 kB / 0.5832 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.4494, allocations: 7.562 kB / 0.5833 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.4495, allocations: 169.4 kB / 0.5834 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.4495, allocations: 1.5 kB / 0.5834 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4495, allocations: 2.469 kB / 0.5834 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.408e-05/0.4496, allocations: 34.47 kB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.4496, allocations: 4.469 kB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4496, allocations: 3.938 kB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4496, allocations: 0 / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.4497, allocations: 3 kB / 0.5835 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.4498, allocations: 153.4 kB / 0.5836 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.4498, allocations: 27.52 kB / 0.5836 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.4499, allocations: 6.891 kB / 0.5836 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/0.4504, allocations: 458.8 kB / 0.5841 GB, free: 25.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.4505, allocations: 32.97 kB / 0.5841 GB, free: 25.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.4505, allocations: 0 / 0.5841 GB, free: 25.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004698/0.4509, allocations: 263.7 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.451, allocations: 51.41 kB / 0.5844 GB, free: 25.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/0.451, allocations: 94.83 kB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.451, allocations: 29.7 kB / 0.5845 GB, free: 25.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.729e-05/0.4511, allocations: 83.45 kB / 0.5846 GB, free: 24.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.4511, allocations: 11.47 kB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.4511, allocations: 20.39 kB / 0.5846 GB, free: 24.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.128e-05/0.4512, allocations: 313 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.4512, allocations: 3.812 kB / 0.5849 GB, free: 24.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.578e-05/0.4512, allocations: 23.02 kB / 0.585 GB, free: 24.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.4513, allocations: 32.97 kB / 0.585 GB, free: 24.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4513, allocations: 0 / 0.585 GB, free: 24.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.304e-05/0.4514, allocations: 58.47 kB / 0.5851 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4514, allocations: 9.781 kB / 0.5851 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4514, allocations: 1.125 kB / 0.5851 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4514, allocations: 2.656 kB / 0.5851 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.4515, allocations: 5.594 kB / 0.5851 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4515, allocations: 1.281 kB / 0.5851 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.4515, allocations: 0.9688 kB / 0.5851 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4516, allocations: 2.562 kB / 0.5851 GB, free: 24.52 MB / 446.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.232e-05/0.4516, allocations: 112.2 kB / 0.5852 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.4516, allocations: 5.25 kB / 0.5852 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.4518, allocations: 62.34 kB / 0.5852 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4518, allocations: 2.656 kB / 0.5852 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.4518, allocations: 4 kB / 0.5853 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4518, allocations: 1.125 kB / 0.5853 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.822e-05/0.4519, allocations: 153.8 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4519, allocations: 4.812 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.4519, allocations: 4.219 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4519, allocations: 5.75 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.452, allocations: 0 / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.452, allocations: 1.938 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.452, allocations: 0 / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.4521, allocations: 83.83 kB / 0.5855 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.4521, allocations: 78.61 kB / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.4522, allocations: 4.906 kB / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.4522, allocations: 1.188 kB / 0.5856 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.4522, allocations: 8.031 kB / 0.5856 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.4522, allocations: 5.297 kB / 0.5856 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.4523, allocations: 76.47 kB / 0.5857 GB, free: 23.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4523, allocations: 0.5625 kB / 0.5857 GB, free: 23.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.4525, allocations: 23.59 kB / 0.5857 GB, free: 23.87 MB / 446.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.0001838/0.4527, allocations: 128.2 kB / 0.5858 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.112e-05/0.4528, allocations: 16.22 kB / 0.5858 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4528, allocations: 3.938 kB / 0.5858 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.656e-05/0.4528, allocations: 13.02 kB / 0.5858 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.4529, allocations: 8.781 kB / 0.5858 GB, free: 23.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.4532, allocations: 113.5 kB / 0.586 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.4533, allocations: 0.6775 MB / 0.5866 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.498e-05/0.4533, allocations: 3.781 kB / 0.5866 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.513e-05/0.4534, allocations: 11.59 kB / 0.5866 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4534, allocations: 0 / 0.5866 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.002977/0.4563, allocations: 0.8558 MB / 0.5875 GB, free: 22.54 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)