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.0009886/0.0009885, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001068/0.001068, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8558/0.8558, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 18.59 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001448/0.1571, allocations: 1.144 MB / 0.5883 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.1577, allocations: 361.7 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.1578, allocations: 0 / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.1578, allocations: 3.938 kB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.1579, allocations: 4 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1582, allocations: 67.78 kB / 0.5887 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.456e-05/0.1583, allocations: 19.97 kB / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.1584, allocations: 0 / 0.5887 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.1584, allocations: 11.94 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.1585, allocations: 11.97 kB / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1585, allocations: 0 / 0.5888 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.1588, allocations: 255.7 kB / 0.589 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1588, allocations: 15.94 kB / 0.589 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.1589, allocations: 25.7 kB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.159, allocations: 71.88 kB / 0.5891 GB, free: 1.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.159, allocations: 0 / 0.5891 GB, free: 1.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.159, allocations: 0 / 0.5891 GB, free: 1.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.159, allocations: 0 / 0.5891 GB, free: 1.129 MB / 494.1 MB 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.0004519/0.1595, allocations: 361.2 kB / 0.5895 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1596, allocations: 16.03 kB / 0.5895 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.1596, allocations: 3.938 kB / 0.5895 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.1598, allocations: 174.9 kB / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1598, allocations: 0 / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.1598, allocations: 0 / 0.5897 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.16, allocations: 57.61 kB / 0.5897 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.16, allocations: 0 / 0.5897 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.16, allocations: 4 kB / 0.5897 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.16, allocations: 4 kB / 0.5897 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1602, allocations: 43.95 kB / 0.5898 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1605, allocations: 248.9 kB / 0.59 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1607, allocations: 46.59 kB / 0.59 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006246/0.1613, allocations: 461.5 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1613, allocations: 34.5 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1614, allocations: 0 / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003686/0.1617, allocations: 101.6 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1618, allocations: 55.34 kB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.1619, allocations: 105.8 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1619, allocations: 25.7 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.1619, allocations: 84.14 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1619, allocations: 15.97 kB / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.1619, allocations: 0 / 0.5909 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1621, allocations: 318.8 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.1621, allocations: 23.98 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.068e-05/0.1622, allocations: 19.92 kB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.1623, allocations: 28.05 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1623, allocations: 0 / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.1625, allocations: 77.66 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1626, allocations: 8 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1626, allocations: 3.984 kB / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1626, allocations: 0 / 0.5913 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.1627, allocations: 11.98 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1627, allocations: 0 / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.83e-05/0.1627, allocations: 15.98 kB / 0.5914 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1627, allocations: 0 / 0.5914 GB, free: 14.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/0.1628, allocations: 117.8 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1629, allocations: 7.906 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.1631, allocations: 85.12 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1631, allocations: 4.281 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1631, allocations: 0 / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1631, allocations: 4 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1633, allocations: 169.6 kB / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1633, allocations: 0 / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.1633, allocations: 11.98 kB / 0.5917 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1634, allocations: 0 / 0.5917 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.1634, allocations: 0 / 0.5917 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1634, allocations: 0 / 0.5917 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1634, allocations: 0 / 0.5917 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1636, allocations: 183.4 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.1637, allocations: 81.02 kB / 0.592 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1637, allocations: 8.031 kB / 0.592 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.1638, allocations: 7.984 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.1638, allocations: 0 / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.1638, allocations: 4 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.1639, allocations: 87.27 kB / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.1639, allocations: 0 / 0.5921 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002213/0.1641, allocations: 16 kB / 0.5921 GB, free: 13.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001672/0.1643, allocations: 107.2 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.1645, allocations: 55.89 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1645, allocations: 0 / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.1646, allocations: 27.98 kB / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.1648, allocations: 0 / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.165, allocations: 124.6 kB / 0.5924 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1653, allocations: 0.6809 MB / 0.5931 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.1653, allocations: 0 / 0.5931 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.1653, allocations: 15.5 kB / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1654, allocations: 0 / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.002462/0.1678, allocations: 0.624 MB / 0.5937 GB, free: 11.96 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: