Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001095/0.001095, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001066/0.001066, allocations: 187 kB / 17.34 MB, free: 5.754 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8045/0.8045, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.31 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1467, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002662/0.1494, allocations: 1.423 MB / 0.6617 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006875/0.1501, allocations: 391.4 kB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.1501, allocations: 0 / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.1502, allocations: 7.938 kB / 0.6621 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.192e-05/0.1502, allocations: 3.938 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1507, allocations: 109.9 kB / 0.6622 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.883e-05/0.1508, allocations: 27.92 kB / 0.6622 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.027e-05/0.1509, allocations: 11.97 kB / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.1509, allocations: 11.94 kB / 0.6623 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.151, allocations: 7.984 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.151, allocations: 11.94 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.1514, allocations: 279.6 kB / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.1514, allocations: 0 / 0.6626 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.1514, allocations: 11.94 kB / 0.6626 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1516, allocations: 107.8 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1516, allocations: 0 / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1516, allocations: 0 / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1517, allocations: 3.938 kB / 0.6627 GB, free: 7.852 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.0004517/0.1521, allocations: 359.4 kB / 0.663 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1522, allocations: 12.03 kB / 0.663 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.133e-05/0.1522, allocations: 4.938 kB / 0.663 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1523, allocations: 172.3 kB / 0.6632 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1524, allocations: 4.375 kB / 0.6632 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1524, allocations: 384 / 0.6632 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.1526, allocations: 54.17 kB / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1526, allocations: 192 / 0.6633 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1526, allocations: 3.938 kB / 0.6633 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1526, allocations: 0 / 0.6633 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1528, allocations: 35.97 kB / 0.6633 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1531, allocations: 245 kB / 0.6635 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1532, allocations: 38.5 kB / 0.6636 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/0.1533, allocations: 32.83 kB / 0.6636 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.154, allocations: 461.5 kB / 0.664 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.154, allocations: 34.56 kB / 0.6641 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 3.647e-06/0.154, allocations: 4 kB / 0.6641 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003651/0.1544, allocations: 85.58 kB / 0.6642 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.1544, allocations: 51.41 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.1545, allocations: 105.8 kB / 0.6643 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1545, allocations: 25.7 kB / 0.6643 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.1546, allocations: 84.08 kB / 0.6644 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1546, allocations: 16.03 kB / 0.6644 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.1547, allocations: 13.7 kB / 0.6644 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1548, allocations: 314.8 kB / 0.6647 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.1548, allocations: 20.17 kB / 0.6648 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-05/0.1549, allocations: 11.98 kB / 0.6648 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.1551, allocations: 52.88 kB / 0.6648 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1551, allocations: 0 / 0.6648 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.1553, allocations: 65.61 kB / 0.6649 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1553, allocations: 8 kB / 0.6649 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1553, allocations: 3.984 kB / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1553, allocations: 0 / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.1554, allocations: 4 kB / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1554, allocations: 0 / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.746e-05/0.1555, allocations: 19.86 kB / 0.6649 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1555, allocations: 4 kB / 0.6649 GB, free: 5.234 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 6.659e-05/0.1556, allocations: 113.8 kB / 0.665 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.1556, allocations: 0 / 0.665 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.1559, allocations: 73.17 kB / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.1559, allocations: 0 / 0.6651 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1559, allocations: 11.97 kB / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1559, allocations: 0 / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.156, allocations: 161.6 kB / 0.6653 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.156, allocations: 0 / 0.6653 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.1561, allocations: 11.98 kB / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1561, allocations: 0 / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1561, allocations: 0 / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1561, allocations: 0 / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1561, allocations: 0 / 0.6653 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1564, allocations: 171.4 kB / 0.6654 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.1564, allocations: 85.02 kB / 0.6655 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1565, allocations: 0 / 0.6655 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1565, allocations: 11.92 kB / 0.6655 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.1566, allocations: 3.984 kB / 0.6655 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.1566, allocations: 0 / 0.6655 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.1566, allocations: 95.3 kB / 0.6656 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1566, allocations: 4 kB / 0.6656 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002283/0.1569, allocations: 12 kB / 0.6656 GB, free: 4.387 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.0001559/0.157, allocations: 111.2 kB / 0.6657 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1572, allocations: 39.91 kB / 0.6658 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1573, allocations: 0 / 0.6658 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.1573, allocations: 24.05 kB / 0.6658 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.1576, allocations: 7.922 kB / 0.6658 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.1579, allocations: 135.2 kB / 0.6659 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1582, allocations: 0.6768 MB / 0.6666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.1582, allocations: 11.44 kB / 0.6666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1582, allocations: 0 / 0.6666 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.00203/0.1603, allocations: 0.701 MB / 0.6673 GB, free: 2.617 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)