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.00108/0.00108, allocations: 112.5 kB / 15.73 MB, free: 76 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.001121/0.001121, allocations: 191.8 kB / 16.67 MB, free: 6.543 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7585/0.7585, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 71.47 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1798, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002717/0.1826, allocations: 1.432 MB / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.1829, allocations: 96.58 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.1829, allocations: 0 / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.183, allocations: 3.938 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.1831, allocations: 11.94 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1833, allocations: 15.98 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.1834, allocations: 23.92 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.1834, allocations: 4 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.1835, allocations: 15.92 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.1835, allocations: 7.984 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.1836, allocations: 4 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.692e-05/0.1836, allocations: 15.98 kB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1836, allocations: 11.92 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.1837, allocations: 15.94 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.1838, allocations: 32.11 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1838, allocations: 4 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1838, allocations: 0 / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1838, allocations: 0 / 0.6608 GB, free: 12.3 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.0004313/0.1843, allocations: 343.4 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1843, allocations: 8.031 kB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.1844, allocations: 30.75 kB / 0.6612 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.1845, allocations: 16.88 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1846, allocations: 176.3 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1847, allocations: 4.359 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.1847, allocations: 4.312 kB / 0.6614 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1849, allocations: 54.23 kB / 0.6614 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1849, allocations: 3.938 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.1849, allocations: 4 kB / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1849, allocations: 0 / 0.6615 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.1851, allocations: 51.94 kB / 0.6615 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1855, allocations: 256.9 kB / 0.6617 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1857, allocations: 62.47 kB / 0.6618 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1858, allocations: 32.89 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.1858, allocations: 0 / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.1858, allocations: 30.56 kB / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1859, allocations: 0 / 0.6619 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004052/0.1863, allocations: 109.5 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1863, allocations: 55.53 kB / 0.662 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.1864, allocations: 105.8 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1864, allocations: 25.7 kB / 0.6622 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.1865, allocations: 92.12 kB / 0.6622 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.1865, allocations: 3.953 kB / 0.6622 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.1865, allocations: 13.7 kB / 0.6623 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1866, allocations: 318.8 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1868, allocations: 27.97 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1869, allocations: 15.98 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1871, allocations: 56.75 kB / 0.6627 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1871, allocations: 3.938 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002487/0.1873, allocations: 89.64 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1874, allocations: 4 kB / 0.6627 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1874, allocations: 3.984 kB / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1874, allocations: 0 / 0.6628 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1875, allocations: 11.98 kB / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1875, allocations: 0 / 0.6628 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1876, allocations: 11.92 kB / 0.6628 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.1876, allocations: 0 / 0.6628 GB, free: 10.08 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 8.062e-05/0.1877, allocations: 122.5 kB / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1877, allocations: 0 / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.1877, allocations: 7.531 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1877, allocations: 0 / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1877, allocations: 0 / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1878, allocations: 3.984 kB / 0.6629 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1879, allocations: 173.5 kB / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1879, allocations: 0 / 0.6631 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.188, allocations: 8.234 kB / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.188, allocations: 8 kB / 0.6631 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.188, allocations: 7.938 kB / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.188, allocations: 0 / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.188, allocations: 0 / 0.6631 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.1883, allocations: 175.4 kB / 0.6633 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.1884, allocations: 85.12 kB / 0.6633 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1884, allocations: 0 / 0.6633 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.1885, allocations: 7.984 kB / 0.6633 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1885, allocations: 8 kB / 0.6634 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1885, allocations: 0 / 0.6634 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.1886, allocations: 79.28 kB / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1886, allocations: 0 / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002151/0.1888, allocations: 8 kB / 0.6634 GB, free: 9.297 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.0005485/0.1894, allocations: 0.7159 MB / 0.6641 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.1896, allocations: 59.97 kB / 0.6642 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1896, allocations: 0 / 0.6642 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.1898, allocations: 23.98 kB / 0.6642 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.19, allocations: 9.797 kB / 0.6642 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.1905, allocations: 147.1 kB / 0.6644 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1907, allocations: 0.6885 MB / 0.665 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.1908, allocations: 0 / 0.665 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.1908, allocations: 7.438 kB / 0.665 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1908, allocations: 0 / 0.665 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.2096, allocations: 1.439 MB / 0.6665 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.6, allocations: 12.78 kB / 0.6665 GB, free: 6.207 MB / 0.4981 GB (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)