Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001774/0.001774, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002333/0.002333, allocations: 214 kB / 23.73 MB, free: 4.16 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.188/0.188, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.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.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",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.002142/0.002142, allocations: 67.89 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3791, allocations: 62.45 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006238/0.3853, allocations: 4.337 MB / 0.5462 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.388, allocations: 1.379 MB / 0.5475 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.3882, allocations: 21.34 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.3893, allocations: 375.4 kB / 0.5479 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006549/0.39, allocations: 252.3 kB / 0.5481 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007481/0.3907, allocations: 242.1 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.3914, allocations: 0.5686 MB / 0.5489 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.3918, allocations: 224.6 kB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.3923, allocations: 262.8 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.3928, allocations: 369.8 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.3929, allocations: 44.02 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.3933, allocations: 217.9 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.3936, allocations: 258 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.3939, allocations: 209.5 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008275/0.3947, allocations: 0.6864 MB / 0.5511 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3947, allocations: 0 / 0.5511 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3947, allocations: 0 / 0.5511 GB, free: 9.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.3947, allocations: 1.5 kB / 0.5511 GB, free: 9.559 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001425/0.3961, allocations: 0.7124 MB / 0.5518 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3962, allocations: 17.14 kB / 0.5518 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.3963, allocations: 92.61 kB / 0.5519 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.397, allocations: 119.4 kB / 0.552 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.3978, allocations: 361.3 kB / 0.5524 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.3978, allocations: 28.97 kB / 0.5524 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.398, allocations: 48.61 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.399, allocations: 0.6749 MB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.3991, allocations: 1.25 kB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/0.3991, allocations: 16.56 kB / 0.5531 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.3993, allocations: 56.81 kB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.4004, allocations: 0.6749 MB / 0.5538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.4043, allocations: 2.351 MB / 0.5561 GB, free: 5.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.4049, allocations: 325 kB / 0.5564 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.4052, allocations: 201.7 kB / 0.5566 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.4053, allocations: 11.92 kB / 0.5566 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.4053, allocations: 34.56 kB / 0.5567 GB, free: 4.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.4053, allocations: 0 / 0.5567 GB, free: 4.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002254/0.4076, allocations: 1.286 MB / 0.5579 GB, free: 3.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.4076, allocations: 81.11 kB / 0.558 GB, free: 3.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.408, allocations: 308.4 kB / 0.5583 GB, free: 3.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.408, allocations: 29.7 kB / 0.5583 GB, free: 3.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.4082, allocations: 272.3 kB / 0.5586 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.4083, allocations: 154.7 kB / 0.5587 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.4085, allocations: 94.14 kB / 0.5588 GB, free: 2.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4086, allocations: 350.8 kB / 0.5591 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.4089, allocations: 205 kB / 0.5593 GB, free: 2.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.4094, allocations: 365.5 kB / 0.5597 GB, free: 1.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/0.4102, allocations: 0.5982 MB / 0.5603 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4102, allocations: 4 kB / 0.5603 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009923/0.4112, allocations: 0.6306 MB / 0.5609 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4112, allocations: 4 kB / 0.5609 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4112, allocations: 8 kB / 0.5609 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.4112, allocations: 8 kB / 0.5609 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.4117, allocations: 115.8 kB / 0.561 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.4117, allocations: 12.47 kB / 0.561 GB, free: 192 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.412, allocations: 23.98 kB / 0.5611 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.412, allocations: 20 kB / 0.5611 GB, free: 148 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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.0002995/0.4123, allocations: 229.6 kB / 0.5613 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.4124, allocations: 47.62 kB / 0.5613 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008295/0.4132, allocations: 496.4 kB / 0.5618 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.4133, allocations: 12 kB / 0.5618 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.4133, allocations: 0 / 0.5618 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4133, allocations: 0 / 0.5618 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.4152, allocations: 1.049 MB / 0.5629 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4152, allocations: 0 / 0.5629 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.4156, allocations: 71.89 kB / 0.5629 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.4156, allocations: 4 kB / 0.5629 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.4156, allocations: 11.98 kB / 0.5629 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.4156, allocations: 4 kB / 0.5629 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4156, allocations: 0 / 0.5629 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4168, allocations: 0.8284 MB / 0.5637 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.4169, allocations: 39.89 kB / 0.5638 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.4169, allocations: 8 kB / 0.5638 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.4171, allocations: 15.98 kB / 0.5638 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.4172, allocations: 27.83 kB / 0.5638 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.4172, allocations: 16 kB / 0.5638 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.4174, allocations: 215.1 kB / 0.5641 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4174, allocations: 0 / 0.5641 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005468/0.418, allocations: 104 kB / 0.5642 GB, free: 12.89 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.001591/0.4196, allocations: 1.4 MB / 0.5655 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007814/0.4204, allocations: 472 kB / 0.566 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4204, allocations: 1.375 kB / 0.566 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.4207, allocations: 200.5 kB / 0.5662 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.4212, allocations: 80.97 kB / 0.5662 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.4271, allocations: 4.411 MB / 0.5705 GB, free: 6.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4274, allocations: 266.2 kB / 0.5708 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.4278, allocations: 135.1 kB / 0.5709 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.4281, allocations: 135.4 kB / 0.5711 GB, free: 5.516 MB / 414.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4281, allocations: 0 / 0.5711 GB, free: 5.516 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04104/0.4691, allocations: 8.614 MB / 0.5795 GB, free: 13.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.78, allocations: 11.67 kB / 0.5795 GB, free: 13.06 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron_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_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.824896265752614] Failed to read output from testmodel.py, exit status != 0: 11.89328567078337 11.928006254 11.527097855 Calling exit ...