Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006766/0.006766, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001347/0.001347, allocations: 187 kB / 16.67 MB, free: 5.926 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4229, allocations: 80.92 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002245/0.4252, allocations: 1.443 MB / 0.6661 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006823/0.4259, allocations: 380.9 kB / 0.6664 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.426, allocations: 0 / 0.6664 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.426, allocations: 0 / 0.6664 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.4261, allocations: 5.531 kB / 0.6664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.4265, allocations: 116.1 kB / 0.6665 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.4266, allocations: 21.42 kB / 0.6666 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.4267, allocations: 8.312 kB / 0.6666 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.356e-05/0.4267, allocations: 6.656 kB / 0.6666 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.4268, allocations: 19.94 kB / 0.6666 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.4268, allocations: 5.125 kB / 0.6666 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.4271, allocations: 279.8 kB / 0.6669 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.4272, allocations: 5.312 kB / 0.6669 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.4272, allocations: 6.75 kB / 0.6669 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.4274, allocations: 112.5 kB / 0.667 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4274, allocations: 0 / 0.667 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4274, allocations: 5.188 kB / 0.667 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.4274, allocations: 0 / 0.667 GB, free: 5.801 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000362/0.4278, allocations: 362.5 kB / 0.6673 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4278, allocations: 10.22 kB / 0.6673 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.002e-05/0.4279, allocations: 2.406 kB / 0.6673 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.428, allocations: 174.6 kB / 0.6675 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.428, allocations: 4.375 kB / 0.6675 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.428, allocations: 1.438 kB / 0.6675 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.4281, allocations: 50.73 kB / 0.6676 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4282, allocations: 192 / 0.6676 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4282, allocations: 3.938 kB / 0.6676 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4282, allocations: 1.625 kB / 0.6676 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.4283, allocations: 38.41 kB / 0.6676 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.4286, allocations: 258.3 kB / 0.6678 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4287, allocations: 43.23 kB / 0.6679 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.96e-05/0.4288, allocations: 20.06 kB / 0.6679 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.4293, allocations: 459.3 kB / 0.6683 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.4293, allocations: 30.56 kB / 0.6684 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4293, allocations: 3.938 kB / 0.6684 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000339/0.4297, allocations: 91.53 kB / 0.6685 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.4297, allocations: 51.41 kB / 0.6685 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.4298, allocations: 105.3 kB / 0.6686 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-06/0.4298, allocations: 25.7 kB / 0.6686 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.418e-05/0.4298, allocations: 85.58 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.4298, allocations: 5.297 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.4299, allocations: 16.42 kB / 0.6687 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.4299, allocations: 315.9 kB / 0.669 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.43, allocations: 16.52 kB / 0.6691 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.4301, allocations: 18.52 kB / 0.6691 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.4303, allocations: 43.34 kB / 0.6691 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4303, allocations: 1.062 kB / 0.6691 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.4305, allocations: 70.17 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4305, allocations: 8.516 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4305, allocations: 256 / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4305, allocations: 1.25 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.4306, allocations: 9.906 kB / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.4306, allocations: 0 / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.251e-05/0.4307, allocations: 7.797 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.4307, allocations: 1.219 kB / 0.6692 GB, free: 3.461 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 (2): * Single equations (assignments): 2 * 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 4.765e-05/0.4307, allocations: 120.3 kB / 0.6693 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4308, allocations: 1.375 kB / 0.6693 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.431, allocations: 79.45 kB / 0.6694 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.431, allocations: 5.125 kB / 0.6694 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.431, allocations: 0 / 0.6694 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.431, allocations: 5.297 kB / 0.6694 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.4311, allocations: 163 kB / 0.6696 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4311, allocations: 7.969 kB / 0.6696 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/0.4312, allocations: 9.609 kB / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4312, allocations: 1.469 kB / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4312, allocations: 0 / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4312, allocations: 0 / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4312, allocations: 1.406 kB / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.4314, allocations: 171 kB / 0.6698 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.878e-05/0.4315, allocations: 78.27 kB / 0.6698 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4315, allocations: 1.156 kB / 0.6698 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.4315, allocations: 7.922 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.4316, allocations: 1.406 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4316, allocations: 1.156 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.4316, allocations: 87.73 kB / 0.6699 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4316, allocations: 0 / 0.6699 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000229/0.4319, allocations: 16.03 kB / 0.6699 GB, free: 2.707 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 (2): * Single equations (assignments): 2 * 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.000143/0.432, allocations: 112.2 kB / 0.67 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.4322, allocations: 33.75 kB / 0.6701 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4322, allocations: 5.125 kB / 0.6701 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.4323, allocations: 19.89 kB / 0.6701 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4326, allocations: 8.922 kB / 0.6701 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.4328, allocations: 119.5 kB / 0.6702 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.433, allocations: 0.6778 MB / 0.6709 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.433, allocations: 5.75 kB / 0.6709 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.433, allocations: 8.844 kB / 0.6709 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.433, allocations: 0 / 0.6709 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of Templates: time 0.002821/0.4358, allocations: 0.7028 MB / 0.6716 GB, free: 1.383 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)