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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9383/0.9383, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.97 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002706/0.1687, allocations: 1.433 MB / 0.5859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007307/0.1694, allocations: 381.2 kB / 0.5862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.1695, allocations: 11.88 kB / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.1696, allocations: 0 / 0.5862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.1696, allocations: 3.938 kB / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.17, allocations: 111.7 kB / 0.5864 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.876e-05/0.1701, allocations: 27.92 kB / 0.5864 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.747e-05/0.1702, allocations: 4 kB / 0.5864 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.1703, allocations: 11.98 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.1703, allocations: 11.94 kB / 0.5864 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.1703, allocations: 4 kB / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003379/0.1707, allocations: 271.6 kB / 0.5867 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.1707, allocations: 11.92 kB / 0.5867 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1707, allocations: 15.88 kB / 0.5867 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.171, allocations: 99.83 kB / 0.5868 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.171, allocations: 4 kB / 0.5868 GB, free: 2.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.171, allocations: 7.938 kB / 0.5868 GB, free: 2.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.171, allocations: 0 / 0.5868 GB, free: 2.07 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.0004588/0.1715, allocations: 359.7 kB / 0.5871 GB, free: 1.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1715, allocations: 12.02 kB / 0.5872 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.1715, allocations: 30.75 kB / 0.5872 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1716, allocations: 8.844 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1717, allocations: 160.4 kB / 0.5873 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1717, allocations: 4.375 kB / 0.5874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-06/0.1717, allocations: 8.375 kB / 0.5874 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1719, allocations: 54.22 kB / 0.5874 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1719, allocations: 3.938 kB / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.1719, allocations: 0 / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1719, allocations: 0 / 0.5874 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1721, allocations: 39.89 kB / 0.5875 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.1724, allocations: 245 kB / 0.5877 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1725, allocations: 42.48 kB / 0.5877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.1726, allocations: 24.91 kB / 0.5878 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.1733, allocations: 453.5 kB / 0.5882 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.1734, allocations: 42.55 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1734, allocations: 0 / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003723/0.1737, allocations: 89.59 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1738, allocations: 51.41 kB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.1739, allocations: 109.8 kB / 0.5885 GB, free: 76 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1739, allocations: 25.7 kB / 0.5885 GB, free: 44 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.174, allocations: 80.14 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.174, allocations: 11.83 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.174, allocations: 17.72 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.638e-05/0.1741, allocations: 310.8 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.498e-05/0.1742, allocations: 27.95 kB / 0.5889 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.1743, allocations: 15.97 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1744, allocations: 44.77 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1745, allocations: 8.125 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.1747, allocations: 69.72 kB / 0.589 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1747, allocations: 4 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1747, allocations: 4 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1747, allocations: 4 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.1748, allocations: 7.984 kB / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1748, allocations: 0 / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.659e-05/0.1749, allocations: 4 kB / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.1749, allocations: 0 / 0.5891 GB, free: 15.42 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.642e-05/0.175, allocations: 121.8 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.175, allocations: 0 / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.1752, allocations: 77.11 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1752, allocations: 0 / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1753, allocations: 0 / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1753, allocations: 0 / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.1754, allocations: 169.6 kB / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1754, allocations: 32 / 0.5894 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.1755, allocations: 8 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1755, allocations: 4 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.1755, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1755, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1755, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.1758, allocations: 175.3 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.1758, allocations: 81.09 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1759, allocations: 4 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1759, allocations: 0 / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.176, allocations: 7.984 kB / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.176, allocations: 0 / 0.5897 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.176, allocations: 83.28 kB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 0 / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002279/0.1763, allocations: 12 kB / 0.5898 GB, free: 14.59 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.0006294/0.1769, allocations: 0.7124 MB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1771, allocations: 35.94 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1771, allocations: 4.062 kB / 0.5905 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.1772, allocations: 23.97 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.1776, allocations: 11.88 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.178, allocations: 151 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1782, allocations: 0.6769 MB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.1783, allocations: 8.062 kB / 0.5914 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.1783, allocations: 11.44 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1783, allocations: 0 / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.1971, allocations: 1.556 MB / 0.5929 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.565, allocations: 13.12 kB / 0.5929 GB, free: 11.38 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)