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.009273/0.009273, allocations: 102 kB / 15.73 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.001781/0.001781, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9579/0.9579, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.5857 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4488, allocations: 80.91 MB / 0.6647 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001756/0.4506, allocations: 0.5612 MB / 0.6652 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005812/0.4512, allocations: 336.2 kB / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.4512, allocations: 0 / 0.6656 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.4513, allocations: 5.125 kB / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.571e-06/0.4513, allocations: 0 / 0.6656 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004565/0.4518, allocations: 106.8 kB / 0.6657 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.4518, allocations: 1.125 kB / 0.6657 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.4519, allocations: 5.469 kB / 0.6657 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.293e-05/0.4519, allocations: 0 / 0.6657 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.156e-05/0.4519, allocations: 5.078 kB / 0.6657 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.4519, allocations: 0 / 0.6657 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003721/0.4523, allocations: 274.3 kB / 0.6659 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.4523, allocations: 0 / 0.6659 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.4523, allocations: 5.234 kB / 0.6659 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.4525, allocations: 83.3 kB / 0.666 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.4525, allocations: 7.875 kB / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.71e-07/0.4525, allocations: 0 / 0.666 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.4525, allocations: 0 / 0.666 GB, free: 6.641 MB / 0.4981 GB 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.0002154/0.4527, allocations: 332.5 kB / 0.6663 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.4528, allocations: 10 kB / 0.6664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.4528, allocations: 4.844 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.917e-05/0.4529, allocations: 164.4 kB / 0.6665 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.622e-06/0.4529, allocations: 1.562 kB / 0.6665 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.4529, allocations: 4.375 kB / 0.6665 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.453, allocations: 36.94 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.453, allocations: 192 / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.453, allocations: 3.938 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.453, allocations: 5.406 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.679e-05/0.453, allocations: 1.281 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.483e-05/0.4531, allocations: 143.2 kB / 0.6667 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.448e-05/0.4532, allocations: 15.86 kB / 0.6667 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.4532, allocations: 10.02 kB / 0.6667 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.4535, allocations: 425.2 kB / 0.6671 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.4536, allocations: 43.83 kB / 0.6672 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.4536, allocations: 0 / 0.6672 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.4537, allocations: 34.98 kB / 0.6672 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.4537, allocations: 51.41 kB / 0.6673 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.658e-05/0.4537, allocations: 89.86 kB / 0.6673 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.4538, allocations: 27.2 kB / 0.6674 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-06/0.4538, allocations: 84.14 kB / 0.6674 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.4538, allocations: 0 / 0.6674 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.4538, allocations: 11.84 kB / 0.6675 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.086e-05/0.4539, allocations: 319.6 kB / 0.6678 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.4539, allocations: 1.469 kB / 0.6678 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-06/0.4539, allocations: 5.062 kB / 0.6678 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/0.4539, allocations: 7.391 kB / 0.6678 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4539, allocations: 8 kB / 0.6678 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.699e-05/0.454, allocations: 31.58 kB / 0.6678 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.454, allocations: 5.719 kB / 0.6678 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.454, allocations: 0 / 0.6678 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.454, allocations: 3.938 kB / 0.6678 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.4541, allocations: 2.812 kB / 0.6678 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.4541, allocations: 0 / 0.6678 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-06/0.4541, allocations: 3.984 kB / 0.6678 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.4541, allocations: 1.406 kB / 0.6678 GB, free: 4.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.4541, allocations: 115.2 kB / 0.6679 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.4542, allocations: 0 / 0.6679 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.4542, allocations: 46.55 kB / 0.668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4543, allocations: 0 / 0.668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4543, allocations: 0 / 0.668 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4543, allocations: 5.234 kB / 0.668 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.515e-05/0.4543, allocations: 143.1 kB / 0.6681 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.4543, allocations: 0 / 0.6681 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.4543, allocations: 5.25 kB / 0.6681 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4544, allocations: 5.188 kB / 0.6681 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.4544, allocations: 3.938 kB / 0.6681 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4544, allocations: 1.438 kB / 0.6681 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4544, allocations: 0 / 0.6681 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.983e-05/0.4544, allocations: 63.69 kB / 0.6682 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.4545, allocations: 77.11 kB / 0.6683 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.4545, allocations: 5.062 kB / 0.6683 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.4545, allocations: 4.031 kB / 0.6683 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.4545, allocations: 1.156 kB / 0.6683 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.4545, allocations: 0 / 0.6683 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.044e-05/0.4545, allocations: 76.69 kB / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4545, allocations: 0 / 0.6684 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001861/0.4547, allocations: 20.11 kB / 0.6684 GB, free: 3.918 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 (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.0001638/0.4549, allocations: 110.7 kB / 0.6685 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.19e-05/0.455, allocations: 8.438 kB / 0.6685 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.455, allocations: 0 / 0.6685 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.584e-06/0.455, allocations: 5.438 kB / 0.6685 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.4551, allocations: 12.83 kB / 0.6685 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.4553, allocations: 94.61 kB / 0.6686 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.4554, allocations: 0.6703 MB / 0.6693 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.747e-05/0.4554, allocations: 1.156 kB / 0.6693 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.4555, allocations: 7.438 kB / 0.6693 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.4555, allocations: 4.125 kB / 0.6693 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of Templates: time 0.002397/0.4579, allocations: 453.3 kB / 0.6697 GB, free: 2.758 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)