Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001798/0.001798, 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.002411/0.002411, allocations: 203.3 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.495/1.495, 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.185/0.185, allocations: 38.55 MB / 352.5 MB, free: 12.41 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.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.002367/0.002367, allocations: 59.91 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3133, allocations: 62.47 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006506/0.3198, allocations: 4.327 MB / 0.5461 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.3225, allocations: 1.386 MB / 0.5475 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.3227, allocations: 21.72 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.3239, allocations: 375.5 kB / 0.5479 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.3245, allocations: 244 kB / 0.5481 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.3253, allocations: 250 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007016/0.326, allocations: 0.5615 MB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.3264, allocations: 233 kB / 0.5491 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004056/0.3268, allocations: 267.1 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/0.3273, allocations: 379.3 kB / 0.5497 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.3274, allocations: 43.14 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.3278, allocations: 229.5 kB / 0.55 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.3281, allocations: 241.6 kB / 0.5502 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.3284, allocations: 220.6 kB / 0.5504 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.3293, allocations: 0.6814 MB / 0.5511 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3293, allocations: 1.875 kB / 0.5511 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3293, allocations: 0 / 0.5511 GB, free: 9.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3293, allocations: 0 / 0.5511 GB, free: 9.543 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.001516/0.3308, allocations: 0.7039 MB / 0.5518 GB, free: 8.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3309, allocations: 13.42 kB / 0.5518 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.331, allocations: 88.92 kB / 0.5519 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007824/0.3318, allocations: 137.8 kB / 0.552 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.3325, allocations: 364.7 kB / 0.5524 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.3325, allocations: 28.69 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3327, allocations: 54.81 kB / 0.5525 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.3339, allocations: 0.6743 MB / 0.5531 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3339, allocations: 1.438 kB / 0.5531 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.3339, allocations: 16.41 kB / 0.5531 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.3341, allocations: 53.3 kB / 0.5532 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.3352, allocations: 0.6655 MB / 0.5538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.3388, allocations: 2.281 MB / 0.5561 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.3394, allocations: 325.7 kB / 0.5564 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.3397, allocations: 225.9 kB / 0.5566 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.3398, allocations: 4.281 kB / 0.5566 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.3398, allocations: 46.72 kB / 0.5566 GB, free: 4.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.104e-06/0.3398, allocations: 4 kB / 0.5566 GB, free: 4.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002418/0.3422, allocations: 1.405 MB / 0.558 GB, free: 3.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3423, allocations: 81.11 kB / 0.5581 GB, free: 3.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.3426, allocations: 292.1 kB / 0.5584 GB, free: 3.113 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3426, allocations: 29.7 kB / 0.5584 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.3428, allocations: 252.3 kB / 0.5586 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/0.343, allocations: 166.6 kB / 0.5588 GB, free: 2.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3431, allocations: 98.12 kB / 0.5589 GB, free: 2.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3433, allocations: 350.8 kB / 0.5592 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.3436, allocations: 225.1 kB / 0.5594 GB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004485/0.3441, allocations: 368.2 kB / 0.5598 GB, free: 1.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/0.3449, allocations: 0.62 MB / 0.5604 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3449, allocations: 0 / 0.5604 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00131/0.3462, allocations: 0.7275 MB / 0.5611 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3462, allocations: 8 kB / 0.5611 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009208/0.3472, allocations: 0.5147 MB / 0.5616 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.3475, allocations: 81.28 kB / 0.5617 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.3479, allocations: 107.9 kB / 0.5618 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/0.3497, allocations: 1.612 MB / 0.5634 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3501, allocations: 35.95 kB / 0.5634 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.3501, allocations: 20 kB / 0.5634 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00031/0.3504, allocations: 213.7 kB / 0.5636 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.3506, allocations: 47.69 kB / 0.5637 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3516, allocations: 0.5551 MB / 0.5642 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.3516, allocations: 19.92 kB / 0.5642 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.3516, allocations: 0 / 0.5642 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3516, allocations: 0 / 0.5642 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.3536, allocations: 1.129 MB / 0.5653 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-06/0.3536, allocations: 4.094 kB / 0.5653 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.3541, allocations: 87.88 kB / 0.5654 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3541, allocations: 0 / 0.5654 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.3541, allocations: 11.98 kB / 0.5654 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-06/0.3541, allocations: 4 kB / 0.5654 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3541, allocations: 0 / 0.5654 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3554, allocations: 0.9279 MB / 0.5663 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.3555, allocations: 39.77 kB / 0.5664 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.3555, allocations: 11.98 kB / 0.5664 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3558, allocations: 20.02 kB / 0.5664 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.3559, allocations: 35.89 kB / 0.5664 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.3559, allocations: 16 kB / 0.5665 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.3561, allocations: 199.1 kB / 0.5666 GB, free: 10.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3561, allocations: 0 / 0.5666 GB, free: 10.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005989/0.3567, allocations: 123.9 kB / 0.5668 GB, free: 10.14 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 (39): * Single equations (assignments): 36 * 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.00176/0.3585, allocations: 1.506 MB / 0.5682 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.3596, allocations: 0.6408 MB / 0.5689 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3596, allocations: 0 / 0.5689 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.3599, allocations: 228.8 kB / 0.5691 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.3605, allocations: 75.27 kB / 0.5692 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.3668, allocations: 4.598 MB / 0.5736 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3671, allocations: 274.3 kB / 0.5739 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.3675, allocations: 131.2 kB / 0.574 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.3677, allocations: 143.4 kB / 0.5742 GB, free: 2.258 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3677, allocations: 0 / 0.5742 GB, free: 2.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0439/0.4116, allocations: 9.538 MB / 0.5835 GB, free: 8.891 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.36, allocations: 4 kB / 0.5835 GB, free: 8.887 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState_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_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.234204136999324] Failed to read output from testmodel.py, exit status != 0: 12.471777344122529 12.487517945 12.155001012 Calling exit ...