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.001157/0.001157, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001188/0.001188, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.325/1.325, 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.7836/0.7836, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.75 kB / 0.582 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1444, allocations: 80.23 MB / 0.6603 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002763/0.1472, allocations: 1.431 MB / 0.6617 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007243/0.1479, allocations: 387.4 kB / 0.6621 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.148, allocations: 0 / 0.6621 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1481, allocations: 0 / 0.6621 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.1481, allocations: 3.938 kB / 0.6621 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1486, allocations: 111.7 kB / 0.6622 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.1486, allocations: 27.92 kB / 0.6622 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.273e-05/0.1487, allocations: 7.984 kB / 0.6623 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.1488, allocations: 7.938 kB / 0.6623 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.97e-05/0.1488, allocations: 11.98 kB / 0.6623 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1489, allocations: 7.984 kB / 0.6623 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.1493, allocations: 271.7 kB / 0.6625 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.1493, allocations: 7.922 kB / 0.6625 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.1493, allocations: 19.94 kB / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1495, allocations: 99.78 kB / 0.6627 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1495, allocations: 0 / 0.6627 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.835e-06/0.1496, allocations: 3.938 kB / 0.6627 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.1496, allocations: 7.922 kB / 0.6627 GB, free: 7.961 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.0004942/0.1501, allocations: 363.4 kB / 0.663 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1501, allocations: 8.031 kB / 0.663 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.1502, allocations: 4.938 kB / 0.663 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1503, allocations: 168.3 kB / 0.6632 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1503, allocations: 8.359 kB / 0.6632 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.1503, allocations: 8.359 kB / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1505, allocations: 42.25 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1505, allocations: 4.188 kB / 0.6633 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1506, allocations: 3.938 kB / 0.6633 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1506, allocations: 3.984 kB / 0.6633 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1507, allocations: 31.97 kB / 0.6633 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.1511, allocations: 256.9 kB / 0.6635 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.1512, allocations: 38.5 kB / 0.6636 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.1513, allocations: 20.91 kB / 0.6636 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.152, allocations: 461.5 kB / 0.664 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.152, allocations: 34.56 kB / 0.6641 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.152, allocations: 4 kB / 0.6641 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000387/0.1524, allocations: 89.58 kB / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1525, allocations: 51.41 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.1525, allocations: 109.8 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.1526, allocations: 25.7 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.1526, allocations: 84.08 kB / 0.6644 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.1527, allocations: 7.906 kB / 0.6644 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.1527, allocations: 13.72 kB / 0.6644 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1528, allocations: 315 kB / 0.6647 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.231e-05/0.1529, allocations: 23.97 kB / 0.6648 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.153, allocations: 15.98 kB / 0.6648 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1531, allocations: 36.83 kB / 0.6648 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1532, allocations: 0 / 0.6648 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.1534, allocations: 77.59 kB / 0.6649 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1534, allocations: 4 kB / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1534, allocations: 0 / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1534, allocations: 0 / 0.6649 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.1535, allocations: 12.23 kB / 0.6649 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1535, allocations: 0 / 0.6649 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1536, allocations: 15.89 kB / 0.6649 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1536, allocations: 0 / 0.6649 GB, free: 5.348 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 7.987e-05/0.1537, allocations: 121.8 kB / 0.665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.1537, allocations: 0 / 0.665 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002243/0.1539, allocations: 77.12 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.154, allocations: 3.938 kB / 0.6651 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.154, allocations: 0 / 0.6651 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.154, allocations: 0 / 0.6651 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.1541, allocations: 165.6 kB / 0.6653 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1541, allocations: 4.031 kB / 0.6653 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.1542, allocations: 7.984 kB / 0.6653 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1542, allocations: 0 / 0.6653 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1542, allocations: 4 kB / 0.6653 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1542, allocations: 0 / 0.6653 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1542, allocations: 0 / 0.6653 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1545, allocations: 167.5 kB / 0.6654 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.1545, allocations: 81.02 kB / 0.6655 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.1546, allocations: 4 kB / 0.6655 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1546, allocations: 3.984 kB / 0.6655 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.1547, allocations: 7.938 kB / 0.6655 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1547, allocations: 3.938 kB / 0.6655 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.1547, allocations: 87.27 kB / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1547, allocations: 0 / 0.6656 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.155, allocations: 16 kB / 0.6656 GB, free: 4.5 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.0001605/0.1551, allocations: 107.3 kB / 0.6657 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1554, allocations: 39.95 kB / 0.6658 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1554, allocations: 0 / 0.6658 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.1555, allocations: 19.98 kB / 0.6658 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1557, allocations: 3.938 kB / 0.6658 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.156, allocations: 143.2 kB / 0.6659 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1563, allocations: 0.6807 MB / 0.6666 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.1563, allocations: 7.438 kB / 0.6666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1563, allocations: 0 / 0.6666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of Templates: time 0.001989/0.1583, allocations: 0.7087 MB / 0.6673 GB, free: 2.727 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)