Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008188/0.0008188, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9032/0.9032, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.229/0.229, allocations: 29.41 MB / 290.1 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.218e-05, allocations: 2.281 kB / 430.2 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.003915/0.003927, allocations: 4.311 MB / 434.5 MB, free: 9.301 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00192/0.005847, allocations: 1.398 MB / 435.9 MB, free: 7.898 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.006146, allocations: 19.81 kB / 435.9 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007981/0.006944, allocations: 366.4 kB / 436.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.007407, allocations: 238.7 kB / 436.5 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.007988, allocations: 255.2 kB / 436.8 MB, free: 7.035 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.008486, allocations: 0.5494 MB / 437.3 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.008822, allocations: 217.4 kB / 437.5 MB, free: 6.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.009232, allocations: 342.9 kB / 437.9 MB, free: 5.934 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.009538, allocations: 279.3 kB / 438.1 MB, free: 5.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.009573, allocations: 28 kB / 438.2 MB, free: 5.633 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.009817, allocations: 151.7 kB / 438.3 MB, free: 5.484 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.009983, allocations: 227.4 kB / 438.5 MB, free: 5.262 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.01011, allocations: 171.6 kB / 438.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.01061, allocations: 0.5764 MB / 439.3 MB, free: 4.516 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.713e-05/0.01065, allocations: 7.938 kB / 439.3 MB, free: 4.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01065, allocations: 0 / 439.3 MB, free: 4.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.01066, allocations: 0 / 439.3 MB, free: 4.508 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0009302/0.01159, allocations: 0.659 MB / 439.9 MB, free: 3.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.01163, allocations: 15.98 kB / 440 MB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.782e-05/0.01171, allocations: 90.69 kB / 440 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.01215, allocations: 116.6 kB / 440.2 MB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.01265, allocations: 344 kB / 440.5 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.01267, allocations: 29.38 kB / 440.5 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.01277, allocations: 44.55 kB / 440.6 MB, free: 3.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005841/0.01335, allocations: 0.6288 MB / 441.2 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.01337, allocations: 7.938 kB / 441.2 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.0134, allocations: 16 kB / 441.2 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-05/0.01348, allocations: 32.98 kB / 441.2 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.01396, allocations: 479.5 kB / 441.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1708/0.1848, allocations: 2.733 MB / 444.4 MB, free: 52.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.1852, allocations: 219.3 kB / 444.7 MB, free: 52.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1853, allocations: 136.2 kB / 444.8 MB, free: 52.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.1854, allocations: 3.156 kB / 444.8 MB, free: 52.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.1854, allocations: 38.03 kB / 444.8 MB, free: 52.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.435e-06/0.1854, allocations: 1.906 kB / 444.8 MB, free: 52.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001104/0.1865, allocations: 0.8951 MB / 445.7 MB, free: 52.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1865, allocations: 80.39 kB / 445.8 MB, free: 52.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.1867, allocations: 344.5 kB / 446.1 MB, free: 52.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1867, allocations: 29.7 kB / 446.2 MB, free: 52.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.1868, allocations: 275.1 kB / 446.4 MB, free: 51.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.1868, allocations: 106.9 kB / 446.6 MB, free: 51.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.1869, allocations: 91.92 kB / 446.6 MB, free: 51.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.187, allocations: 350.4 kB / 447 MB, free: 51.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1871, allocations: 142.1 kB / 447.1 MB, free: 51.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1872, allocations: 353.5 kB / 447.5 MB, free: 51.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.1876, allocations: 0.5231 MB / 448 MB, free: 50.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1876, allocations: 3 kB / 448 MB, free: 50.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004181/0.188, allocations: 0.5291 MB / 448.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.188, allocations: 9.75 kB / 448.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.188, allocations: 6.375 kB / 448.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.188, allocations: 9.594 kB / 448.5 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.1883, allocations: 119.5 kB / 448.7 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.1883, allocations: 16.78 kB / 448.7 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1884, allocations: 27.77 kB / 448.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1885, allocations: 24.97 kB / 448.7 MB, free: 50.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 0.0001411/0.1886, allocations: 218.7 kB / 448.9 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.1886, allocations: 32.23 kB / 449 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.189, allocations: 360.8 kB / 449.3 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.189, allocations: 6.406 kB / 449.3 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.189, allocations: 1.5 kB / 449.3 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.189, allocations: 3.516 kB / 449.3 MB, free: 50.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009006/0.1899, allocations: 0.8236 MB / 450.2 MB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1899, allocations: 6.188 kB / 450.2 MB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.1901, allocations: 62.34 kB / 450.2 MB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1902, allocations: 3.25 kB / 450.2 MB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1902, allocations: 13.17 kB / 450.2 MB, free: 49.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1902, allocations: 7.188 kB / 450.3 MB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1902, allocations: 3.188 kB / 450.3 MB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000461/0.1906, allocations: 0.5872 MB / 450.8 MB, free: 49.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.1907, allocations: 29.31 kB / 450.9 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1907, allocations: 10.75 kB / 450.9 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.1908, allocations: 11.06 kB / 450.9 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.1908, allocations: 23.78 kB / 450.9 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1908, allocations: 6.406 kB / 450.9 MB, free: 49.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.191, allocations: 222.7 kB / 451.1 MB, free: 49.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.191, allocations: 2.906 kB / 451.1 MB, free: 49.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.1913, allocations: 91.84 kB / 451.2 MB, free: 49.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005431/0.1918, allocations: 1.14 MB / 452.4 MB, free: 48.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.1921, allocations: 349.4 kB / 452.7 MB, free: 48.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1922, allocations: 0 / 452.7 MB, free: 48.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1923, allocations: 131 kB / 452.8 MB, free: 48.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1926, allocations: 78.73 kB / 452.9 MB, free: 48.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.1956, allocations: 3.896 MB / 456.8 MB, free: 45.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.1958, allocations: 247.8 kB / 457.1 MB, free: 45.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.196, allocations: 133 kB / 457.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1962, allocations: 145.3 kB / 457.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1962, allocations: 0 / 457.3 MB, free: 45.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02108/0.2172, allocations: 7.918 MB / 465.2 MB, free: 44.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.252, allocations: 10.91 kB / 465.3 MB, free: 44.02 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.17275726236403] Failed to read output from testmodel.py, exit status != 0: 7.33464634232223 7.342674481 7.329873225 Calling exit ...