Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_PowerLinearized",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.00168/0.00168, allocations: 108 kB / 15.6 MB, free: 132 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.002623/0.002623, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7883/0.7883, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002632, allocations: 60.84 kB / 0.5019 GB, free: 8.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.17, allocations: 80.2 MB / 0.5802 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003081/0.1731, allocations: 1.43 MB / 0.5816 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000271/0.1734, allocations: 92.58 kB / 0.5817 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.1735, allocations: 0 / 0.5817 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.1735, allocations: 3.938 kB / 0.5817 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.1736, allocations: 11.94 kB / 0.5817 GB, free: 7.113 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.1738, allocations: 11.98 kB / 0.5817 GB, free: 7.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.99e-05/0.1739, allocations: 27.86 kB / 0.5817 GB, free: 7.074 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.297e-05/0.174, allocations: 4 kB / 0.5817 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.174, allocations: 11.98 kB / 0.5817 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.1741, allocations: 23.84 kB / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1741, allocations: 0 / 0.5818 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.998e-05/0.1741, allocations: 19.98 kB / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.1742, allocations: 0 / 0.5818 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.1742, allocations: 7.938 kB / 0.5818 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1743, allocations: 39.89 kB / 0.5818 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1743, allocations: 0 / 0.5818 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1743, allocations: 0 / 0.5818 GB, free: 6.969 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1743, allocations: 0 / 0.5818 GB, free: 6.969 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.0004478/0.1748, allocations: 347.7 kB / 0.5822 GB, free: 6.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1748, allocations: 8.031 kB / 0.5822 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.1749, allocations: 30.75 kB / 0.5822 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.175, allocations: 12.92 kB / 0.5822 GB, free: 6.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1752, allocations: 168.3 kB / 0.5824 GB, free: 6.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1752, allocations: 12.3 kB / 0.5824 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.1752, allocations: 4.375 kB / 0.5824 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1754, allocations: 58.17 kB / 0.5824 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1754, allocations: 7.938 kB / 0.5825 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1754, allocations: 0 / 0.5825 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1755, allocations: 0 / 0.5825 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.1757, allocations: 55.94 kB / 0.5825 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.1761, allocations: 260.9 kB / 0.5828 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1763, allocations: 54.42 kB / 0.5828 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1764, allocations: 36.89 kB / 0.5828 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1764, allocations: 0 / 0.5828 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.1765, allocations: 34.56 kB / 0.5829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1765, allocations: 0 / 0.5829 GB, free: 5.727 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004185/0.1769, allocations: 97.62 kB / 0.583 GB, free: 5.625 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.1769, allocations: 59.47 kB / 0.583 GB, free: 5.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.177, allocations: 105.8 kB / 0.5831 GB, free: 5.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.177, allocations: 29.7 kB / 0.5832 GB, free: 5.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.1771, allocations: 84.05 kB / 0.5832 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1771, allocations: 7.938 kB / 0.5832 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.1771, allocations: 17.7 kB / 0.5833 GB, free: 5.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.252e-05/0.1772, allocations: 314.8 kB / 0.5836 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1774, allocations: 27.97 kB / 0.5836 GB, free: 4.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.1775, allocations: 19.98 kB / 0.5836 GB, free: 4.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1777, allocations: 52.81 kB / 0.5837 GB, free: 4.871 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1777, allocations: 3.938 kB / 0.5837 GB, free: 4.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002395/0.1779, allocations: 81.61 kB / 0.5837 GB, free: 4.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1779, allocations: 8 kB / 0.5837 GB, free: 4.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.178, allocations: 3.938 kB / 0.5838 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.178, allocations: 3.938 kB / 0.5838 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1781, allocations: 11.98 kB / 0.5838 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1781, allocations: 0 / 0.5838 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.1782, allocations: 11.98 kB / 0.5838 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1782, allocations: 0 / 0.5838 GB, free: 4.742 MB / 494.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 7.576e-05/0.1783, allocations: 118.5 kB / 0.5839 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1783, allocations: 0 / 0.5839 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1783, allocations: 7.531 kB / 0.5839 GB, free: 4.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1783, allocations: 4 kB / 0.5839 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1783, allocations: 0 / 0.5839 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1784, allocations: 7.922 kB / 0.5839 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.1785, allocations: 161.6 kB / 0.5841 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1786, allocations: 0 / 0.5841 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.1786, allocations: 11.98 kB / 0.5841 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1786, allocations: 4 kB / 0.5841 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1787, allocations: 4 kB / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1787, allocations: 256 / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1787, allocations: 0 / 0.5841 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.179, allocations: 189.1 kB / 0.5843 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.179, allocations: 85.12 kB / 0.5843 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.179, allocations: 0 / 0.5843 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.1791, allocations: 7.984 kB / 0.5844 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.1792, allocations: 4 kB / 0.5844 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1792, allocations: 0 / 0.5844 GB, free: 4.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.1792, allocations: 83.28 kB / 0.5844 GB, free: 3.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1792, allocations: 0 / 0.5844 GB, free: 3.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1795, allocations: 4 kB / 0.5844 GB, free: 3.973 MB / 494.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.0005429/0.18, allocations: 0.7046 MB / 0.5851 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002604/0.1803, allocations: 59.91 kB / 0.5852 GB, free: 3.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1803, allocations: 4 kB / 0.5852 GB, free: 3.176 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1804, allocations: 19.98 kB / 0.5852 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1807, allocations: 11.98 kB / 0.5852 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1812, allocations: 151.2 kB / 0.5854 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1815, allocations: 0.6768 MB / 0.586 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.1815, allocations: 0 / 0.586 GB, free: 2.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/0.1815, allocations: 15.44 kB / 0.586 GB, free: 2.238 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1816, allocations: 3.938 kB / 0.586 GB, free: 2.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.199, allocations: 1.411 MB / 0.5874 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.259/7.458, allocations: 20.48 kB / 0.5874 GB, free: 0.8906 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized_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_PowerLinearized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)