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.0008473/0.0008473, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009239/0.000924, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8502/0.8502, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1493, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0008014/0.1501, allocations: 299.1 kB / 0.5875 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.1508, allocations: 299.3 kB / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.1508, allocations: 0 / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.002e-05/0.1508, allocations: 0 / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.134e-06/0.1508, allocations: 0 / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.1512, allocations: 63.78 kB / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.811e-05/0.1512, allocations: 0 / 0.5878 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.1513, allocations: 8 kB / 0.5879 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.1513, allocations: 3.984 kB / 0.5879 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.017e-05/0.1514, allocations: 0 / 0.5879 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1514, allocations: 0 / 0.5879 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.1518, allocations: 263.6 kB / 0.5881 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-06/0.1518, allocations: 0 / 0.5881 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1518, allocations: 25.7 kB / 0.5881 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.152, allocations: 59.89 kB / 0.5882 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.152, allocations: 0 / 0.5882 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.152, allocations: 3.938 kB / 0.5882 GB, free: 2.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.152, allocations: 0 / 0.5882 GB, free: 2.121 MB / 494.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.0002918/0.1523, allocations: 331.4 kB / 0.5885 GB, free: 1.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1524, allocations: 11.97 kB / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1524, allocations: 0 / 0.5885 GB, free: 1.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1525, allocations: 167 kB / 0.5887 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1525, allocations: 4 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.1526, allocations: 0 / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.687e-05/0.1527, allocations: 25.7 kB / 0.5887 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1527, allocations: 3.984 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.1527, allocations: 0 / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1527, allocations: 4 kB / 0.5887 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.1527, allocations: 4 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.1529, allocations: 149.6 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/0.1529, allocations: 26.55 kB / 0.5889 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/0.1534, allocations: 425.5 kB / 0.5893 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1534, allocations: 38.56 kB / 0.5893 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1535, allocations: 0 / 0.5893 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.1536, allocations: 33.7 kB / 0.5894 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1536, allocations: 59.33 kB / 0.5894 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.198e-05/0.1537, allocations: 89.86 kB / 0.5895 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1537, allocations: 25.7 kB / 0.5895 GB, free: 476 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.1537, allocations: 84.27 kB / 0.5896 GB, free: 388 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1538, allocations: 7.906 kB / 0.5896 GB, free: 380 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-06/0.1538, allocations: 0 / 0.5896 GB, free: 380 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1539, allocations: 310.8 kB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.1539, allocations: 0 / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.1539, allocations: 4 kB / 0.5899 GB, free: 56 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.666e-05/0.1539, allocations: 4 kB / 0.5899 GB, free: 52 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1539, allocations: 0 / 0.5899 GB, free: 52 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.966e-05/0.154, allocations: 33.66 kB / 0.59 GB, free: 12 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.154, allocations: 12.08 kB / 0.59 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.1541, allocations: 4.047 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1541, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.578e-05/0.1541, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1541, allocations: 3.938 kB / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.054e-05/0.1542, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1542, allocations: 0 / 0.59 GB, free: 15.99 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/0.1542, allocations: 109.8 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1543, allocations: 3.953 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/0.1543, allocations: 44.77 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1544, allocations: 0 / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.1544, allocations: 0 / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1544, allocations: 4 kB / 0.5901 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.613e-05/0.1545, allocations: 141.7 kB / 0.5903 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1545, allocations: 3.938 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.009e-05/0.1545, allocations: 0 / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1545, allocations: 7.953 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.1545, allocations: 3.984 kB / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1545, allocations: 4.031 kB / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1545, allocations: 3.938 kB / 0.5903 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.581e-05/0.1546, allocations: 57.08 kB / 0.5903 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.1546, allocations: 81.11 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1547, allocations: 3.953 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.1547, allocations: 3.984 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.311e-05/0.1547, allocations: 0 / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1547, allocations: 4.031 kB / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.112e-05/0.1547, allocations: 75.28 kB / 0.5905 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1547, allocations: 0 / 0.5905 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002004/0.1549, allocations: 16 kB / 0.5905 GB, free: 15.33 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001565/0.1551, allocations: 107.2 kB / 0.5906 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.831e-05/0.1552, allocations: 11.92 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1552, allocations: 4 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.773e-06/0.1552, allocations: 4.062 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.301e-05/0.1553, allocations: 4.062 kB / 0.5906 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000146/0.1554, allocations: 74.98 kB / 0.5907 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.1556, allocations: 0.677 MB / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.451e-05/0.1556, allocations: 0 / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-06/0.1557, allocations: 7.438 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1557, allocations: 0 / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.001935/0.1576, allocations: 438.8 kB / 0.5918 GB, free: 13.96 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: