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.005552/0.005552, allocations: 104.4 kB / 15.73 MB, free: 6.027 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.001206/0.001206, allocations: 188.7 kB / 16.67 MB, free: 5.957 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8218/0.8218, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001979, allocations: 68.58 kB / 0.5852 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 80.92 MB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001738/0.1799, allocations: 0.5758 MB / 0.6648 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003219/0.1803, allocations: 94.33 kB / 0.6649 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.894e-05/0.1803, allocations: 4 kB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1804, allocations: 0 / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.1804, allocations: 7.922 kB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1807, allocations: 15.97 kB / 0.6649 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.1807, allocations: 7.938 kB / 0.6649 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1808, allocations: 8 kB / 0.6649 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.1808, allocations: 0 / 0.6649 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.227e-05/0.1809, allocations: 4 kB / 0.6649 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.1809, allocations: 0 / 0.6649 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.181, allocations: 15.98 kB / 0.6649 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.449e-05/0.181, allocations: 7.984 kB / 0.6649 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.181, allocations: 3.938 kB / 0.6649 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.1811, allocations: 19.97 kB / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1811, allocations: 0 / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.827e-06/0.1812, allocations: 0 / 0.6649 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1812, allocations: 3.938 kB / 0.6649 GB, free: 5.477 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.0003619/0.1815, allocations: 316.1 kB / 0.6653 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1816, allocations: 13.11 kB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.1816, allocations: 30.75 kB / 0.6653 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1818, allocations: 16.92 kB / 0.6653 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.43e-05/0.1819, allocations: 160.4 kB / 0.6655 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1819, allocations: 384 / 0.6655 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1819, allocations: 4.375 kB / 0.6655 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.182, allocations: 34.25 kB / 0.6655 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1821, allocations: 3.938 kB / 0.6655 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1821, allocations: 4 kB / 0.6655 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1821, allocations: 0 / 0.6655 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.1822, allocations: 19.92 kB / 0.6655 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001408/0.1823, allocations: 153.7 kB / 0.6657 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1825, allocations: 42.66 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/0.1826, allocations: 16.86 kB / 0.6657 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1826, allocations: 0 / 0.6657 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1826, allocations: 34.56 kB / 0.6658 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.1826, allocations: 3.938 kB / 0.6658 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002155/0.1828, allocations: 61.69 kB / 0.6658 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1829, allocations: 51.41 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.236e-05/0.1829, allocations: 89.86 kB / 0.666 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1829, allocations: 29.64 kB / 0.666 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.183, allocations: 80.14 kB / 0.6661 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.183, allocations: 23.83 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.1831, allocations: 17.72 kB / 0.6661 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.1832, allocations: 314.8 kB / 0.6664 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.1832, allocations: 4 kB / 0.6664 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/0.1832, allocations: 12.02 kB / 0.6664 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.838e-05/0.1833, allocations: 20.84 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1833, allocations: 0 / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001163/0.1835, allocations: 53.62 kB / 0.6665 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1835, allocations: 4 kB / 0.6665 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1835, allocations: 7.938 kB / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.1835, allocations: 0 / 0.6665 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.1839, allocations: 43.92 kB / 0.6665 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1852, allocations: 1.4 MB / 0.6679 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.1852, allocations: 8.016 kB / 0.6679 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1852, allocations: 0 / 0.6679 GB, free: 2.059 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 7.487e-05/0.1853, allocations: 113.8 kB / 0.668 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-06/0.1853, allocations: 8.094 kB / 0.668 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.264e-05/0.1853, allocations: 3.5 kB / 0.668 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1854, allocations: 0 / 0.668 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.1854, allocations: 0 / 0.668 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1854, allocations: 0 / 0.668 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.1855, allocations: 157.6 kB / 0.6682 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1855, allocations: 0 / 0.6682 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.1859, allocations: 51.92 kB / 0.6682 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1859, allocations: 0 / 0.6682 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1859, allocations: 0 / 0.6682 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.187, allocations: 1.409 MB / 0.6696 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.187, allocations: 4.125 kB / 0.6696 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1872, allocations: 73.09 kB / 0.6697 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1872, allocations: 81.11 kB / 0.6698 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.1872, allocations: 7.875 kB / 0.6698 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.924e-05/0.1873, allocations: 3.984 kB / 0.6698 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.1873, allocations: 0 / 0.6698 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1873, allocations: 4 kB / 0.6698 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.1873, allocations: 79.28 kB / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1873, allocations: 0 / 0.6699 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001917/0.1875, allocations: 4 kB / 0.6699 GB, free: 15.84 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.0003955/0.1879, allocations: 0.6137 MB / 0.6705 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004594/0.1884, allocations: 71.78 kB / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1884, allocations: 0 / 0.6705 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.1887, allocations: 47.94 kB / 0.6706 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.1888, allocations: 1.875 kB / 0.6706 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.1892, allocations: 122.5 kB / 0.6707 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1895, allocations: 0.6729 MB / 0.6713 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.1895, allocations: 3.984 kB / 0.6714 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.1895, allocations: 15.44 kB / 0.6714 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1895, allocations: 0 / 0.6714 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.2079, allocations: 1.287 MB / 0.6726 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.23, allocations: 12.52 kB / 0.6726 GB, free: 13.03 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)