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.001235/0.001235, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001233/0.001233, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7629/0.7629, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 61.34 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 80.94 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001529/0.1487, allocations: 0.5668 MB / 0.6659 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005673/0.1493, allocations: 317.8 kB / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.1493, allocations: 0 / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.758e-06/0.1493, allocations: 0 / 0.6662 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.1493, allocations: 4 kB / 0.6662 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1498, allocations: 115.6 kB / 0.6663 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.241e-05/0.1498, allocations: 0 / 0.6663 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.796e-05/0.1498, allocations: 0 / 0.6663 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.1499, allocations: 7.984 kB / 0.6663 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.472e-05/0.1499, allocations: 0 / 0.6663 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.1499, allocations: 0 / 0.6663 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.1503, allocations: 271.7 kB / 0.6666 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1503, allocations: 8 kB / 0.6666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.1503, allocations: 0 / 0.6666 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1505, allocations: 83.86 kB / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1505, allocations: 0 / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.72e-07/0.1505, allocations: 0 / 0.6667 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.1505, allocations: 0 / 0.6667 GB, free: 4.387 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.0002694/0.1508, allocations: 335.5 kB / 0.667 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1508, allocations: 13.05 kB / 0.667 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.1509, allocations: 4.922 kB / 0.667 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/0.151, allocations: 164.3 kB / 0.6672 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.151, allocations: 8.375 kB / 0.6672 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.151, allocations: 384 / 0.6672 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.1511, allocations: 30.2 kB / 0.6672 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1511, allocations: 192 / 0.6672 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1511, allocations: 3.938 kB / 0.6672 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1511, allocations: 4 kB / 0.6672 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.504e-05/0.1511, allocations: 0 / 0.6672 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.1513, allocations: 149.7 kB / 0.6674 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.1513, allocations: 22.61 kB / 0.6674 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.276e-05/0.1513, allocations: 4.859 kB / 0.6674 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004746/0.1518, allocations: 425.6 kB / 0.6678 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1518, allocations: 34.5 kB / 0.6678 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.1518, allocations: 4 kB / 0.6678 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.152, allocations: 33.64 kB / 0.6679 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.152, allocations: 55.41 kB / 0.6679 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.519e-05/0.1521, allocations: 93.84 kB / 0.668 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1521, allocations: 25.7 kB / 0.668 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.1521, allocations: 84.12 kB / 0.6681 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1521, allocations: 4 kB / 0.6681 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.1522, allocations: 13.72 kB / 0.6681 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.1523, allocations: 315 kB / 0.6684 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.1523, allocations: 4 kB / 0.6684 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-06/0.1523, allocations: 0 / 0.6684 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.1523, allocations: 12.8 kB / 0.6684 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1523, allocations: 0 / 0.6684 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.087e-05/0.1524, allocations: 37.69 kB / 0.6685 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1524, allocations: 8 kB / 0.6685 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1524, allocations: 0 / 0.6685 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1525, allocations: 8.031 kB / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.444e-05/0.1525, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1525, allocations: 4 kB / 0.6685 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-06/0.1525, allocations: 0 / 0.6685 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1525, allocations: 0 / 0.6685 GB, free: 2.207 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 5.937e-05/0.1526, allocations: 109.8 kB / 0.6686 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1526, allocations: 0 / 0.6686 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.1527, allocations: 52.62 kB / 0.6686 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1527, allocations: 4.031 kB / 0.6687 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1527, allocations: 0 / 0.6687 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1527, allocations: 0 / 0.6687 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.962e-05/0.1528, allocations: 149.6 kB / 0.6688 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1528, allocations: 0 / 0.6688 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.1529, allocations: 7.984 kB / 0.6688 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1529, allocations: 0 / 0.6688 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1529, allocations: 3.938 kB / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1529, allocations: 0 / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1529, allocations: 0 / 0.6688 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.312e-05/0.153, allocations: 65.08 kB / 0.6689 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.153, allocations: 81.09 kB / 0.6689 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.153, allocations: 3.938 kB / 0.6689 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-06/0.153, allocations: 0 / 0.6689 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.1531, allocations: 3.984 kB / 0.669 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1531, allocations: 4 kB / 0.669 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.1531, allocations: 75.28 kB / 0.669 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1531, allocations: 0 / 0.669 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002016/0.1533, allocations: 16.03 kB / 0.669 GB, free: 1.535 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.0001595/0.1535, allocations: 108.6 kB / 0.6691 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.1535, allocations: 4 kB / 0.6691 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1536, allocations: 0 / 0.6691 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.1536, allocations: 4 kB / 0.6692 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1537, allocations: 0 / 0.6692 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.1539, allocations: 126.6 kB / 0.6693 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.1541, allocations: 0.6729 MB / 0.6699 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.1542, allocations: 7.438 kB / 0.6699 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1542, allocations: 0 / 0.6699 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of Templates: time 0.001684/0.1558, allocations: 463.7 kB / 0.6704 GB, free: 96 kB / 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)