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.001305/0.001305, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001421/0.001421, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.511/1.511, allocations: 230.6 MB / 254.1 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] 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.1866/0.1866, allocations: 38.5 MB / 348.7 MB, free: 2.57 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.91 kB / 487.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1137, allocations: 62.41 MB / 0.5366 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006502/0.1202, allocations: 4.472 MB / 0.541 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.1229, allocations: 1.484 MB / 0.5425 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1231, allocations: 19.81 kB / 0.5425 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.1242, allocations: 389.9 kB / 0.5429 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.1247, allocations: 222.9 kB / 0.5431 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.1254, allocations: 255.4 kB / 0.5433 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006835/0.126, allocations: 0.5339 MB / 0.5438 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.1265, allocations: 221.1 kB / 0.544 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.1269, allocations: 259 kB / 0.5443 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.1274, allocations: 311 kB / 0.5446 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.711e-05/0.1274, allocations: 32 kB / 0.5446 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.1277, allocations: 155.8 kB / 0.5448 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.128, allocations: 231.4 kB / 0.545 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.1282, allocations: 230.9 kB / 0.5452 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.1289, allocations: 0.572 MB / 0.5458 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1289, allocations: 0 / 0.5458 GB, free: 14.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1289, allocations: 0 / 0.5458 GB, free: 14.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1289, allocations: 0 / 0.5458 GB, free: 14.17 MB / 414.1 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.00134/0.1303, allocations: 0.7537 MB / 0.5465 GB, free: 13.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1303, allocations: 8.031 kB / 0.5465 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.1304, allocations: 90.7 kB / 0.5466 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007248/0.1311, allocations: 112.5 kB / 0.5467 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.1318, allocations: 415.4 kB / 0.5471 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.1319, allocations: 29.38 kB / 0.5471 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.132, allocations: 43.94 kB / 0.5472 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/0.1329, allocations: 0.6365 MB / 0.5478 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1329, allocations: 3.938 kB / 0.5478 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.133, allocations: 16 kB / 0.5478 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001858/0.1332, allocations: 32.98 kB / 0.5478 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007929/0.134, allocations: 487.4 kB / 0.5483 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.1376, allocations: 2.88 MB / 0.5511 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/0.1381, allocations: 225.6 kB / 0.5513 GB, free: 8.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.1383, allocations: 129.7 kB / 0.5515 GB, free: 8.004 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.1383, allocations: 7.984 kB / 0.5515 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.1384, allocations: 38.98 kB / 0.5515 GB, free: 7.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.824e-06/0.1384, allocations: 0 / 0.5515 GB, free: 7.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001764/0.1401, allocations: 0.9807 MB / 0.5525 GB, free: 6.914 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1402, allocations: 81.11 kB / 0.5525 GB, free: 6.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.1406, allocations: 328.4 kB / 0.5529 GB, free: 6.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1406, allocations: 29.7 kB / 0.5529 GB, free: 6.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.1408, allocations: 280.1 kB / 0.5531 GB, free: 6.168 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1409, allocations: 103.1 kB / 0.5532 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.1411, allocations: 94.2 kB / 0.5533 GB, free: 5.969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1413, allocations: 354.9 kB / 0.5537 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1415, allocations: 145 kB / 0.5538 GB, free: 5.473 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.142, allocations: 339.2 kB / 0.5541 GB, free: 5.047 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.1428, allocations: 0.5168 MB / 0.5546 GB, free: 4.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.1428, allocations: 4 kB / 0.5546 GB, free: 4.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008446/0.1436, allocations: 0.5329 MB / 0.5552 GB, free: 3.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.1436, allocations: 8 kB / 0.5552 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.1437, allocations: 12.06 kB / 0.5552 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.1437, allocations: 11.94 kB / 0.5552 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.1442, allocations: 123.8 kB / 0.5553 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.1442, allocations: 11.94 kB / 0.5553 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.1444, allocations: 27.98 kB / 0.5554 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.1445, allocations: 24 kB / 0.5554 GB, free: 3.68 MB / 414.1 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.0003028/0.1448, allocations: 225.4 kB / 0.5556 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.1449, allocations: 35.8 kB / 0.5556 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007386/0.1456, allocations: 374 kB / 0.556 GB, free: 3.039 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1456, allocations: 4 kB / 0.556 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1456, allocations: 0 / 0.556 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.1456, allocations: 3.984 kB / 0.556 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.1472, allocations: 0.8797 MB / 0.5568 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1472, allocations: 4.094 kB / 0.5568 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/0.1476, allocations: 71.89 kB / 0.5569 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1476, allocations: 0 / 0.5569 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1476, allocations: 11.94 kB / 0.5569 GB, free: 2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1476, allocations: 4 kB / 0.5569 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1476, allocations: 0 / 0.5569 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.1485, allocations: 0.5897 MB / 0.5575 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1486, allocations: 100.9 kB / 0.5576 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.1486, allocations: 15.97 kB / 0.5576 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1488, allocations: 8 kB / 0.5576 GB, free: 1.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.1489, allocations: 23.97 kB / 0.5577 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.1489, allocations: 8 kB / 0.5577 GB, free: 1.207 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002913/0.1492, allocations: 223 kB / 0.5579 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1492, allocations: 0 / 0.5579 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004977/0.1497, allocations: 92 kB / 0.558 GB, free: 0.9023 MB / 414.1 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.001183/0.1509, allocations: 1.138 MB / 0.5591 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006359/0.1515, allocations: 349.2 kB / 0.5594 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1515, allocations: 128 / 0.5594 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.1518, allocations: 136.8 kB / 0.5595 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1523, allocations: 70.78 kB / 0.5596 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/0.1577, allocations: 3.988 MB / 0.5635 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005718/0.1582, allocations: 0.8698 MB / 0.5643 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.1586, allocations: 127.1 kB / 0.5645 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.1589, allocations: 139.4 kB / 0.5646 GB, free: 9.758 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1589, allocations: 0 / 0.5646 GB, free: 9.758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.1922, allocations: 7.18 MB / 0.5716 GB, free: 2.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.722/8.914, allocations: 4.062 kB / 0.5716 GB, free: 2.668 MB / 430.1 MB " [Timeout remaining time 651] (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: 11.888673465000466] Failed to read output from testmodel.py, exit status != 0: 8.988367768994067 9.013867578 8.880464321 Calling exit ...