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.001376/0.001376, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001746/0.001746, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.194/0.194, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002156/0.002156, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3198, allocations: 62.47 MB / 0.5419 GB, free: 208 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006719/0.3265, allocations: 4.322 MB / 0.5462 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3293, allocations: 1.384 MB / 0.5475 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002948/0.3296, allocations: 20.06 kB / 0.5475 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.3308, allocations: 371.9 kB / 0.5479 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007456/0.3316, allocations: 252.3 kB / 0.5481 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007506/0.3323, allocations: 250.2 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007878/0.3331, allocations: 0.5606 MB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.3335, allocations: 220.7 kB / 0.5491 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.334, allocations: 275.5 kB / 0.5494 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.3345, allocations: 381.4 kB / 0.5497 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.123e-05/0.3346, allocations: 38.91 kB / 0.5498 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.3351, allocations: 230.9 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.3353, allocations: 241.4 kB / 0.5502 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002674/0.3356, allocations: 222.1 kB / 0.5504 GB, free: 9.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.3365, allocations: 0.6781 MB / 0.5511 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3365, allocations: 1.312 kB / 0.5511 GB, free: 9.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3365, allocations: 0 / 0.5511 GB, free: 9.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3365, allocations: 4 kB / 0.5511 GB, free: 9.512 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.00155/0.338, allocations: 0.7133 MB / 0.5518 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3381, allocations: 12.7 kB / 0.5518 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.3382, allocations: 92.91 kB / 0.5519 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007184/0.3389, allocations: 123.8 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.3396, allocations: 360.6 kB / 0.5524 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.3397, allocations: 29.31 kB / 0.5524 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.3398, allocations: 51.92 kB / 0.5524 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.3408, allocations: 0.6836 MB / 0.5531 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3409, allocations: 1.219 kB / 0.5531 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.3409, allocations: 15.62 kB / 0.5531 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/0.3411, allocations: 49.81 kB / 0.5532 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.3422, allocations: 0.6784 MB / 0.5538 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003848/0.346, allocations: 2.355 MB / 0.5561 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000589/0.3466, allocations: 309.1 kB / 0.5564 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.3469, allocations: 209.7 kB / 0.5566 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.3469, allocations: 7.938 kB / 0.5566 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.347, allocations: 38.56 kB / 0.5567 GB, free: 4.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.347, allocations: 0 / 0.5567 GB, free: 4.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002262/0.3492, allocations: 1.29 MB / 0.5579 GB, free: 3.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.3493, allocations: 81.11 kB / 0.558 GB, free: 3.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.3497, allocations: 312.4 kB / 0.5583 GB, free: 3.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3497, allocations: 29.7 kB / 0.5583 GB, free: 3.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3499, allocations: 268.2 kB / 0.5586 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.3501, allocations: 146.7 kB / 0.5587 GB, free: 2.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.3502, allocations: 98.12 kB / 0.5588 GB, free: 2.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.3504, allocations: 350.8 kB / 0.5592 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.3507, allocations: 209 kB / 0.5594 GB, free: 2.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.3512, allocations: 361.6 kB / 0.5597 GB, free: 1.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.352, allocations: 0.6021 MB / 0.5603 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3521, allocations: 4 kB / 0.5603 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001033/0.3531, allocations: 0.6311 MB / 0.5609 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.3531, allocations: 7.984 kB / 0.5609 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3531, allocations: 12.03 kB / 0.5609 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.3531, allocations: 8 kB / 0.5609 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.3536, allocations: 111.8 kB / 0.5611 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.3536, allocations: 11.94 kB / 0.5611 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.3539, allocations: 23.98 kB / 0.5611 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.354, allocations: 23.98 kB / 0.5611 GB, free: 92 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.0003209/0.3543, allocations: 217.7 kB / 0.5613 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.3544, allocations: 39.7 kB / 0.5614 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/0.3553, allocations: 0.4886 MB / 0.5618 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.3553, allocations: 19.94 kB / 0.5618 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3553, allocations: 0 / 0.5618 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.3553, allocations: 3.984 kB / 0.5619 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.3572, allocations: 1.041 MB / 0.5629 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3572, allocations: 4 kB / 0.5629 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.3576, allocations: 71.88 kB / 0.5629 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.3576, allocations: 4.094 kB / 0.5629 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3576, allocations: 12 kB / 0.563 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3576, allocations: 0 / 0.563 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3577, allocations: 4 kB / 0.563 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.359, allocations: 0.8284 MB / 0.5638 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.3591, allocations: 31.77 kB / 0.5638 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.3591, allocations: 11.95 kB / 0.5638 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3594, allocations: 24 kB / 0.5638 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.3594, allocations: 19.91 kB / 0.5639 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.3595, allocations: 16 kB / 0.5639 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003002/0.3598, allocations: 219 kB / 0.5641 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3598, allocations: 4 kB / 0.5641 GB, free: 12.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006124/0.3604, allocations: 104 kB / 0.5642 GB, free: 12.84 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.001748/0.3621, allocations: 1.389 MB / 0.5655 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008796/0.363, allocations: 480.3 kB / 0.566 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.363, allocations: 3.938 kB / 0.566 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003371/0.3634, allocations: 204.5 kB / 0.5662 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.364, allocations: 61 kB / 0.5663 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006597/0.3706, allocations: 4.404 MB / 0.5706 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.371, allocations: 274.2 kB / 0.5708 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003845/0.3714, allocations: 131.2 kB / 0.5709 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/0.3717, allocations: 143.4 kB / 0.5711 GB, free: 5.477 MB / 414.1 MB Notification: Performance of SimCode: time 1.743e-06/0.3717, allocations: 0 / 0.5711 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.4153, allocations: 8.829 MB / 0.5797 GB, free: 12.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 0 / 0.5797 GB, free: 12.81 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.748822773108259] Failed to read output from testmodel.py, exit status != 0: 11.89540991699323 11.922982427 11.58101078 Calling exit ...