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.002024/0.002024, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002/0.002, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.544/1.544, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1976/0.1976, 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.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.00336/0.00336, allocations: 71.89 kB / 492.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3788, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006186/0.385, allocations: 4.333 MB / 0.5462 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.3877, allocations: 1.38 MB / 0.5475 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.3881, allocations: 20.62 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.3893, allocations: 368.5 kB / 0.5479 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007871/0.3901, allocations: 260.2 kB / 0.5481 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007965/0.3909, allocations: 245.5 kB / 0.5484 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000806/0.3917, allocations: 0.5583 MB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.3921, allocations: 224.5 kB / 0.5491 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005464/0.3927, allocations: 274.6 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006381/0.3933, allocations: 363 kB / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.3934, allocations: 39.47 kB / 0.5498 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006021/0.394, allocations: 230.8 kB / 0.55 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.3943, allocations: 240.2 kB / 0.5502 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003433/0.3946, allocations: 216.9 kB / 0.5504 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.3957, allocations: 0.6817 MB / 0.5511 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3957, allocations: 0 / 0.5511 GB, free: 9.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3957, allocations: 1.5 kB / 0.5511 GB, free: 9.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.3957, allocations: 4 kB / 0.5511 GB, free: 9.566 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.001597/0.3973, allocations: 0.7123 MB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3973, allocations: 12.42 kB / 0.5518 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.3975, allocations: 88.95 kB / 0.5519 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007832/0.3982, allocations: 125.6 kB / 0.552 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.3991, allocations: 365.6 kB / 0.5524 GB, free: 8.566 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3991, allocations: 32.62 kB / 0.5524 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.3992, allocations: 55.05 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.4004, allocations: 0.67 MB / 0.5531 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4004, allocations: 6.484 kB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.4004, allocations: 18.83 kB / 0.5531 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000186/0.4006, allocations: 53.92 kB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.4017, allocations: 0.6627 MB / 0.5538 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.4055, allocations: 2.28 MB / 0.556 GB, free: 5.598 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.4061, allocations: 325.7 kB / 0.5563 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.4064, allocations: 229.9 kB / 0.5566 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.4064, allocations: 8.266 kB / 0.5566 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.4065, allocations: 42.78 kB / 0.5566 GB, free: 4.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.506e-06/0.4065, allocations: 0 / 0.5566 GB, free: 4.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002467/0.409, allocations: 1.405 MB / 0.558 GB, free: 3.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.409, allocations: 85.11 kB / 0.5581 GB, free: 3.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.4093, allocations: 296.1 kB / 0.5584 GB, free: 3.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.4094, allocations: 29.7 kB / 0.5584 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.4095, allocations: 248.3 kB / 0.5586 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.4097, allocations: 166.6 kB / 0.5588 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.4098, allocations: 102.1 kB / 0.5589 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.41, allocations: 346.8 kB / 0.5592 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.4103, allocations: 217 kB / 0.5594 GB, free: 2.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.4108, allocations: 372.1 kB / 0.5598 GB, free: 1.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008998/0.4117, allocations: 0.6278 MB / 0.5604 GB, free: 0.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4117, allocations: 0 / 0.5604 GB, free: 0.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001325/0.413, allocations: 0.72 MB / 0.5611 GB, free: 196 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.413, allocations: 8 kB / 0.5611 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009228/0.4139, allocations: 0.5147 MB / 0.5616 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003341/0.4143, allocations: 72.8 kB / 0.5617 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.4147, allocations: 112.1 kB / 0.5618 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4165, allocations: 1.616 MB / 0.5633 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003237/0.4168, allocations: 31.97 kB / 0.5634 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4169, allocations: 23.94 kB / 0.5634 GB, free: 13.69 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.0003041/0.4172, allocations: 217.6 kB / 0.5636 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4173, allocations: 39.7 kB / 0.5636 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009686/0.4183, allocations: 0.5629 MB / 0.5642 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.4183, allocations: 12 kB / 0.5642 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4183, allocations: 3.984 kB / 0.5642 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4183, allocations: 7.938 kB / 0.5642 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.4204, allocations: 1.122 MB / 0.5653 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4204, allocations: 0 / 0.5653 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.4208, allocations: 87.88 kB / 0.5654 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.4208, allocations: 4.094 kB / 0.5654 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.4208, allocations: 8 kB / 0.5654 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4209, allocations: 4 kB / 0.5654 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4209, allocations: 0 / 0.5654 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.4222, allocations: 0.9318 MB / 0.5663 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.4222, allocations: 39.8 kB / 0.5664 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.4223, allocations: 8 kB / 0.5664 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.4225, allocations: 20.22 kB / 0.5664 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.4226, allocations: 31.88 kB / 0.5664 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.4226, allocations: 19.92 kB / 0.5664 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.4228, allocations: 199.1 kB / 0.5666 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4228, allocations: 4 kB / 0.5666 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005892/0.4234, allocations: 123.9 kB / 0.5667 GB, free: 10.16 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.0018/0.4252, allocations: 1.506 MB / 0.5682 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.4264, allocations: 0.6413 MB / 0.5688 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4264, allocations: 0 / 0.5688 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.4268, allocations: 231.5 kB / 0.5691 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.4273, allocations: 80.61 kB / 0.5691 GB, free: 7.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006893/0.4342, allocations: 4.587 MB / 0.5736 GB, free: 2.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4345, allocations: 278.4 kB / 0.5739 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003528/0.4349, allocations: 135.1 kB / 0.574 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.4351, allocations: 143.4 kB / 0.5742 GB, free: 2.281 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4351, allocations: 0 / 0.5742 GB, free: 2.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04619/0.4813, allocations: 9.306 MB / 0.5832 GB, free: 9.137 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.18, allocations: 0 / 0.5832 GB, free: 9.137 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.20958809228614] Failed to read output from testmodel.py, exit status != 0: 12.33253300189972 12.347479727 11.948551842 Calling exit ...