Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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-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.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_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.007439/0.007439, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001392/0.001392, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 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.8808/0.8808, allocations: 135.6 MB / 426.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 69.11 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1812, allocations: 81.04 MB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002688/0.1839, allocations: 0.5721 MB / 0.6655 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004544/0.1844, allocations: 98.3 kB / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.1845, allocations: 0 / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1846, allocations: 0 / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.131e-05/0.1846, allocations: 0 / 0.6656 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.1849, allocations: 15.98 kB / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.1849, allocations: 11.88 kB / 0.6656 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.185, allocations: 4 kB / 0.6656 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.185, allocations: 4 kB / 0.6656 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.1851, allocations: 11.92 kB / 0.6656 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1851, allocations: 4 kB / 0.6656 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.479e-05/0.1852, allocations: 11.98 kB / 0.6656 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.1852, allocations: 3.984 kB / 0.6656 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1852, allocations: 7.938 kB / 0.6656 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.041e-05/0.1853, allocations: 11.98 kB / 0.6656 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1854, allocations: 0 / 0.6656 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.275e-06/0.1854, allocations: 0 / 0.6656 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1854, allocations: 0 / 0.6656 GB, free: 4.812 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000412/0.1858, allocations: 326 kB / 0.666 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1858, allocations: 9.109 kB / 0.666 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1859, allocations: 34.75 kB / 0.666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.186, allocations: 12.92 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1862, allocations: 160.4 kB / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.1862, allocations: 384 / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.1862, allocations: 384 / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1864, allocations: 42.19 kB / 0.6662 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1864, allocations: 3.938 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1864, allocations: 11.98 kB / 0.6662 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1864, allocations: 0 / 0.6662 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.008e-05/0.1865, allocations: 11.98 kB / 0.6662 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001845/0.1867, allocations: 145.7 kB / 0.6664 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1869, allocations: 46.58 kB / 0.6664 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.187, allocations: 20.92 kB / 0.6664 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.187, allocations: 0 / 0.6664 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.187, allocations: 38.5 kB / 0.6665 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.736e-06/0.187, allocations: 0 / 0.6665 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002365/0.1873, allocations: 61.55 kB / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.1873, allocations: 51.41 kB / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.234e-05/0.1874, allocations: 89.86 kB / 0.6667 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1874, allocations: 29.7 kB / 0.6667 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.1875, allocations: 80.14 kB / 0.6668 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.1875, allocations: 19.83 kB / 0.6668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.1875, allocations: 13.72 kB / 0.6668 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1877, allocations: 310.8 kB / 0.6671 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.1877, allocations: 11.98 kB / 0.6671 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.1878, allocations: 4 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/0.1879, allocations: 28.78 kB / 0.6671 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1879, allocations: 4 kB / 0.6671 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001149/0.188, allocations: 45.69 kB / 0.6672 GB, free: 3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.188, allocations: 4 kB / 0.6672 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1881, allocations: 3.938 kB / 0.6672 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1881, allocations: 7.922 kB / 0.6672 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.1885, allocations: 47.94 kB / 0.6672 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.19, allocations: 1.404 MB / 0.6686 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.1901, allocations: 0 / 0.6686 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1901, allocations: 4.031 kB / 0.6686 GB, free: 1.387 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/0.1902, allocations: 117.9 kB / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-06/0.1902, allocations: 0 / 0.6687 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.1902, allocations: 3.828 kB / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1902, allocations: 0 / 0.6687 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.1902, allocations: 4 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1902, allocations: 3.984 kB / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.1904, allocations: 157.6 kB / 0.6689 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1904, allocations: 4 kB / 0.6689 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.1908, allocations: 47.92 kB / 0.6689 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1908, allocations: 7.938 kB / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1908, allocations: 0 / 0.669 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.1921, allocations: 1.401 MB / 0.6703 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1921, allocations: 4.031 kB / 0.6703 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.1923, allocations: 73.06 kB / 0.6704 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.1923, allocations: 85.09 kB / 0.6705 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.1923, allocations: 3.938 kB / 0.6705 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.1924, allocations: 12 kB / 0.6705 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.1924, allocations: 0 / 0.6705 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1924, allocations: 0 / 0.6705 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.481e-05/0.1924, allocations: 75.28 kB / 0.6706 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1924, allocations: 0 / 0.6706 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001885/0.1926, allocations: 4 kB / 0.6706 GB, free: 15.16 MB / 0.5137 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005092/0.1931, allocations: 0.6201 MB / 0.6712 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004887/0.1936, allocations: 59.91 kB / 0.6712 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1937, allocations: 4 kB / 0.6712 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.1939, allocations: 39.95 kB / 0.6713 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1941, allocations: 5.875 kB / 0.6713 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.1945, allocations: 126.5 kB / 0.6714 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1948, allocations: 0.6729 MB / 0.6721 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.1948, allocations: 8.281 kB / 0.6721 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.1949, allocations: 11.38 kB / 0.6721 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1949, allocations: 0 / 0.6721 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.2181, allocations: 1.28 MB / 0.6733 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.53, allocations: 14.12 kB / 0.6733 GB, free: 12.36 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.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_dev_IDEAS_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)