Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001105, allocations: 103 kB / 16.37 MB, free: 6.438 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.001018/0.001018, allocations: 189.1 kB / 17.3 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7845/0.7845, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3673, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001805/0.3691, allocations: 0.5722 MB / 0.5863 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005469/0.3697, allocations: 324.4 kB / 0.5866 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.3697, allocations: 0 / 0.5866 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.3697, allocations: 2.844 kB / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.579e-06/0.3698, allocations: 0 / 0.5867 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.3701, allocations: 107.9 kB / 0.5868 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.555e-05/0.3702, allocations: 5.406 kB / 0.5868 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.3702, allocations: 3.984 kB / 0.5868 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.251e-05/0.3703, allocations: 2.406 kB / 0.5868 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.25e-05/0.3703, allocations: 1.094 kB / 0.5868 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.3703, allocations: 0.6562 kB / 0.5868 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.3707, allocations: 277.2 kB / 0.587 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3707, allocations: 2.25 kB / 0.587 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.3707, allocations: 0 / 0.587 GB, free: 24.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.3709, allocations: 84.03 kB / 0.5871 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3709, allocations: 4.5 kB / 0.5871 GB, free: 24.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3709, allocations: 0 / 0.5871 GB, free: 24.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3709, allocations: 2.406 kB / 0.5871 GB, free: 24.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002474/0.3711, allocations: 331.5 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3712, allocations: 12.02 kB / 0.5874 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.3712, allocations: 4.875 kB / 0.5875 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.023e-05/0.3713, allocations: 165.2 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3713, allocations: 1.562 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.3713, allocations: 5 kB / 0.5876 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.658e-05/0.3714, allocations: 32.44 kB / 0.5876 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3714, allocations: 2.469 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3715, allocations: 3.938 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3715, allocations: 0.9688 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.3715, allocations: 1.375 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.036e-05/0.3716, allocations: 147.7 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.292e-05/0.3716, allocations: 23.94 kB / 0.5878 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.3716, allocations: 6.078 kB / 0.5878 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/0.372, allocations: 427.4 kB / 0.5882 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.372, allocations: 37.55 kB / 0.5883 GB, free: 23.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3721, allocations: 0 / 0.5883 GB, free: 23.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.3722, allocations: 38.73 kB / 0.5883 GB, free: 23.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.3722, allocations: 57.25 kB / 0.5884 GB, free: 23.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.384e-05/0.3722, allocations: 90.64 kB / 0.5884 GB, free: 23.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-06/0.3722, allocations: 25.7 kB / 0.5885 GB, free: 23.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.048e-05/0.3723, allocations: 82.05 kB / 0.5886 GB, free: 22.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.3723, allocations: 3.906 kB / 0.5886 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.3723, allocations: 13.69 kB / 0.5886 GB, free: 22.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.674e-05/0.3724, allocations: 310.8 kB / 0.5889 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.3724, allocations: 7.734 kB / 0.5889 GB, free: 22.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.3724, allocations: 1.312 kB / 0.5889 GB, free: 22.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.081e-05/0.3724, allocations: 11.55 kB / 0.5889 GB, free: 22.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3724, allocations: 0 / 0.5889 GB, free: 22.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.191e-05/0.3725, allocations: 32.02 kB / 0.5889 GB, free: 22.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3725, allocations: 10.62 kB / 0.5889 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3725, allocations: 0 / 0.5889 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3725, allocations: 9.625 kB / 0.5889 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.214e-05/0.3725, allocations: 1.281 kB / 0.5889 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3726, allocations: 1.406 kB / 0.5889 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-06/0.3726, allocations: 0 / 0.5889 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3726, allocations: 2.438 kB / 0.5889 GB, free: 22.59 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 (1): * Single equations (assignments): 1 * 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 3.611e-05/0.3726, allocations: 115 kB / 0.589 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.3726, allocations: 0.7812 kB / 0.589 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.3727, allocations: 43.39 kB / 0.5891 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3727, allocations: 1.281 kB / 0.5891 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3727, allocations: 0 / 0.5891 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.3727, allocations: 1.219 kB / 0.5891 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.309e-05/0.3728, allocations: 146.8 kB / 0.5892 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3728, allocations: 1.156 kB / 0.5892 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.3728, allocations: 2.531 kB / 0.5892 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.3728, allocations: 0 / 0.5892 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3728, allocations: 4.844 kB / 0.5892 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3728, allocations: 5.281 kB / 0.5892 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3728, allocations: 4.594 kB / 0.5892 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.095e-05/0.3729, allocations: 66.27 kB / 0.5893 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.3729, allocations: 77.11 kB / 0.5894 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.373, allocations: 5.156 kB / 0.5894 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.373, allocations: 0 / 0.5894 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-06/0.373, allocations: 2.125 kB / 0.5894 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.373, allocations: 0 / 0.5894 GB, free: 22.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.979e-06/0.373, allocations: 77.47 kB / 0.5895 GB, free: 21.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.373, allocations: 1.25 kB / 0.5895 GB, free: 21.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.3732, allocations: 8 kB / 0.5895 GB, free: 21.98 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 (1): * Single equations (assignments): 1 * 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.000134/0.3733, allocations: 109.7 kB / 0.5896 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.6e-05/0.3734, allocations: 13.75 kB / 0.5896 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3734, allocations: 0 / 0.5896 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.3734, allocations: 2.156 kB / 0.5896 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.3735, allocations: 2.922 kB / 0.5896 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001393/0.3737, allocations: 86.97 kB / 0.5897 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.552e-05/0.3738, allocations: 0.6702 MB / 0.5903 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.4e-05/0.3738, allocations: 3.5 kB / 0.5903 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.3738, allocations: 7.438 kB / 0.5903 GB, free: 21.08 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3738, allocations: 0 / 0.5903 GB, free: 21.08 MB / 446.1 MB Notification: Performance of Templates: time 0.00208/0.3759, allocations: 453.4 kB / 0.5908 GB, free: 20.86 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)