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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_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.001123/0.001123, 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.001125/0.001125, allocations: 195.5 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.769/0.769, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001243, allocations: 60.38 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3631, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002324/0.3655, allocations: 1.435 MB / 0.5816 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.3661, allocations: 390.5 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.3662, allocations: 1.469 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.3662, allocations: 0.5625 kB / 0.582 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.3662, allocations: 3.938 kB / 0.582 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.3666, allocations: 112.5 kB / 0.5821 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.214e-05/0.3667, allocations: 24.25 kB / 0.5821 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.3668, allocations: 13.45 kB / 0.5821 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.439e-05/0.3668, allocations: 4.672 kB / 0.5821 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.3669, allocations: 15.19 kB / 0.5821 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3669, allocations: 2.031 kB / 0.5821 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.3673, allocations: 278.5 kB / 0.5824 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.3673, allocations: 0.7031 kB / 0.5824 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.3673, allocations: 20.27 kB / 0.5824 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.3675, allocations: 101 kB / 0.5825 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3675, allocations: 0.6562 kB / 0.5825 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3675, allocations: 0 / 0.5825 GB, free: 3.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3675, allocations: 1.031 kB / 0.5825 GB, free: 3.121 MB / 430.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.0003586/0.3679, allocations: 366.8 kB / 0.5829 GB, free: 2.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3679, allocations: 10.62 kB / 0.5829 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.15e-05/0.368, allocations: 43.25 kB / 0.5829 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.368, allocations: 6.75 kB / 0.5829 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.845e-05/0.3681, allocations: 171.9 kB / 0.5831 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3681, allocations: 1.375 kB / 0.5831 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3681, allocations: 1.25 kB / 0.5831 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3683, allocations: 49.47 kB / 0.5831 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3683, allocations: 3.938 kB / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.3683, allocations: 1.969 kB / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.3683, allocations: 0 / 0.5831 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.3685, allocations: 33.98 kB / 0.5832 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.3687, allocations: 256.1 kB / 0.5834 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3689, allocations: 41.12 kB / 0.5835 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.369, allocations: 20.31 kB / 0.5835 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.3696, allocations: 460.6 kB / 0.5839 GB, free: 1.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.3696, allocations: 33.36 kB / 0.584 GB, free: 1.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3696, allocations: 0 / 0.584 GB, free: 1.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000373/0.37, allocations: 92.7 kB / 0.584 GB, free: 1.555 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.37, allocations: 52.66 kB / 0.5841 GB, free: 1.492 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.3701, allocations: 103.7 kB / 0.5842 GB, free: 1.391 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.553e-06/0.3701, allocations: 30.42 kB / 0.5842 GB, free: 1.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.552e-05/0.3701, allocations: 86.95 kB / 0.5843 GB, free: 1.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.3701, allocations: 5.281 kB / 0.5843 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.3702, allocations: 16.8 kB / 0.5843 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.081e-05/0.3702, allocations: 317.3 kB / 0.5846 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-05/0.3703, allocations: 14.25 kB / 0.5846 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.3704, allocations: 18.14 kB / 0.5847 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.3705, allocations: 38.98 kB / 0.5847 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3706, allocations: 8 kB / 0.5847 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002052/0.3708, allocations: 68.03 kB / 0.5848 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3708, allocations: 5.281 kB / 0.5848 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3708, allocations: 3.938 kB / 0.5848 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3708, allocations: 1.812 kB / 0.5848 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.3709, allocations: 8.859 kB / 0.5848 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3709, allocations: 0 / 0.5848 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.371, allocations: 11.33 kB / 0.5848 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.371, allocations: 0.9062 kB / 0.5848 GB, free: 0.8594 MB / 430.1 MB 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 4.629e-05/0.371, allocations: 117.5 kB / 0.5849 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3711, allocations: 2 kB / 0.5849 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3713, allocations: 76.84 kB / 0.585 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3713, allocations: 2.25 kB / 0.585 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3713, allocations: 0 / 0.585 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3713, allocations: 8.031 kB / 0.585 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3715, allocations: 166.6 kB / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3715, allocations: 0 / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.3715, allocations: 8.25 kB / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3715, allocations: 0.9375 kB / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.3715, allocations: 1.578 kB / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3716, allocations: 0 / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3716, allocations: 1.312 kB / 0.5852 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.3718, allocations: 171.7 kB / 0.5853 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3718, allocations: 79.23 kB / 0.5854 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.3718, allocations: 0.5625 kB / 0.5854 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.3719, allocations: 5.672 kB / 0.5854 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.372, allocations: 7.859 kB / 0.5854 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.372, allocations: 0 / 0.5854 GB, free: 244 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.514e-05/0.372, allocations: 85.56 kB / 0.5855 GB, free: 164 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.372, allocations: 5.281 kB / 0.5855 GB, free: 160 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.3722, allocations: 16.25 kB / 0.5855 GB, free: 156 kB / 430.1 MB 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.0005642/0.3728, allocations: 0.7078 MB / 0.5862 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.3731, allocations: 51 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3731, allocations: 0.875 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.3732, allocations: 17.2 kB / 0.5863 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3734, allocations: 6.312 kB / 0.5863 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.3738, allocations: 148.8 kB / 0.5864 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3741, allocations: 0.6807 MB / 0.5871 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.171e-05/0.3741, allocations: 2.109 kB / 0.5871 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.3741, allocations: 13.16 kB / 0.5871 GB, free: 14.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3741, allocations: 0 / 0.5871 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.3909, allocations: 1.558 MB / 0.5886 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.782, allocations: 2.156 kB / 0.5886 GB, free: 14.23 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)