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.001365/0.001365, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001585/0.001585, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2392/0.2392, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.002105/0.002105, allocations: 75.89 kB / 492.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006892/0.3201, allocations: 4.579 MB / 0.5465 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.3233, allocations: 1.497 MB / 0.5479 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.3236, allocations: 21.41 kB / 0.5479 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.325, allocations: 401.1 kB / 0.5483 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008512/0.3258, allocations: 248.4 kB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009334/0.3267, allocations: 253.3 kB / 0.5488 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008799/0.3276, allocations: 0.5577 MB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004922/0.3281, allocations: 229.2 kB / 0.5496 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.3287, allocations: 263.5 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.3293, allocations: 395.2 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.031e-05/0.3294, allocations: 38.19 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.33, allocations: 243.2 kB / 0.5505 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.3303, allocations: 244.2 kB / 0.5507 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.3307, allocations: 261.7 kB / 0.5509 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.3319, allocations: 0.6765 MB / 0.5516 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3319, allocations: 0 / 0.5516 GB, free: 9.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3319, allocations: 0 / 0.5516 GB, free: 9.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3319, allocations: 0 / 0.5516 GB, free: 9.262 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.001786/0.3337, allocations: 0.715 MB / 0.5523 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3338, allocations: 13.48 kB / 0.5523 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.3339, allocations: 87.59 kB / 0.5524 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008193/0.3347, allocations: 125.9 kB / 0.5525 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.3357, allocations: 361.4 kB / 0.5529 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.3357, allocations: 32.41 kB / 0.5529 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.3359, allocations: 54.47 kB / 0.5529 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.3372, allocations: 0.6763 MB / 0.5536 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.3372, allocations: 1.125 kB / 0.5536 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.3372, allocations: 11.56 kB / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/0.3374, allocations: 57.95 kB / 0.5537 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.3386, allocations: 0.6737 MB / 0.5543 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.3428, allocations: 2.37 MB / 0.5566 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000662/0.3435, allocations: 329.7 kB / 0.557 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.3439, allocations: 222 kB / 0.5572 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.3439, allocations: 16.22 kB / 0.5572 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.344, allocations: 34.78 kB / 0.5572 GB, free: 4.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.344, allocations: 0 / 0.5572 GB, free: 4.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002643/0.3466, allocations: 1.409 MB / 0.5586 GB, free: 3.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.3467, allocations: 81.11 kB / 0.5587 GB, free: 3.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.347, allocations: 296.2 kB / 0.559 GB, free: 2.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.3471, allocations: 33.7 kB / 0.559 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.3473, allocations: 252.3 kB / 0.5592 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.3475, allocations: 174.5 kB / 0.5594 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.3476, allocations: 90.19 kB / 0.5595 GB, free: 2.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.3478, allocations: 350.8 kB / 0.5598 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.3482, allocations: 217 kB / 0.56 GB, free: 1.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.3487, allocations: 362.1 kB / 0.5604 GB, free: 1.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009711/0.3497, allocations: 0.6278 MB / 0.561 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3497, allocations: 0 / 0.561 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001594/0.3513, allocations: 0.7317 MB / 0.5617 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.3513, allocations: 10.97 kB / 0.5617 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009983/0.3523, allocations: 0.5186 MB / 0.5622 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.3527, allocations: 68.8 kB / 0.5623 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.3532, allocations: 107.8 kB / 0.5624 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.3554, allocations: 1.624 MB / 0.564 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.3558, allocations: 35.97 kB / 0.564 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.3558, allocations: 19.98 kB / 0.564 GB, free: 13.36 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.0003875/0.3562, allocations: 209.7 kB / 0.5642 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.3564, allocations: 47.69 kB / 0.5643 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3575, allocations: 0.5512 MB / 0.5648 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.51e-05/0.3575, allocations: 15.98 kB / 0.5648 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3575, allocations: 4.062 kB / 0.5648 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3575, allocations: 0 / 0.5648 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.3599, allocations: 1.164 MB / 0.566 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3599, allocations: 4 kB / 0.566 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.3603, allocations: 79.89 kB / 0.566 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.3603, allocations: 4 kB / 0.566 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.3604, allocations: 24 kB / 0.5661 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.3604, allocations: 7.938 kB / 0.5661 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3604, allocations: 0 / 0.5661 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.3618, allocations: 0.9356 MB / 0.567 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3619, allocations: 35.77 kB / 0.567 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/0.3619, allocations: 8 kB / 0.567 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.3622, allocations: 20.02 kB / 0.567 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.117e-05/0.3623, allocations: 31.89 kB / 0.5671 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.3623, allocations: 12 kB / 0.5671 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.3626, allocations: 199.1 kB / 0.5673 GB, free: 9.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3626, allocations: 0 / 0.5673 GB, free: 9.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000692/0.3632, allocations: 119.9 kB / 0.5674 GB, free: 9.809 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.001893/0.3651, allocations: 1.51 MB / 0.5689 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3664, allocations: 0.6291 MB / 0.5695 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.3664, allocations: 1.125 kB / 0.5695 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.3668, allocations: 243.6 kB / 0.5697 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.3674, allocations: 68.62 kB / 0.5698 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.3743, allocations: 4.583 MB / 0.5743 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.3749, allocations: 0.8783 MB / 0.5751 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003655/0.3753, allocations: 127.1 kB / 0.5752 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.3755, allocations: 151.4 kB / 0.5754 GB, free: 1.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3755, allocations: 0 / 0.5754 GB, free: 1.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05193/0.4274, allocations: 9.148 MB / 0.5843 GB, free: 8.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.61, allocations: 3.938 kB / 0.5843 GB, free: 8.316 MB / 430.1 MB " [Timeout remaining time 647] (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.536800751004193] Failed to read output from testmodel.py, exit status != 0: 12.726532936001604 12.749801506 12.414280975 Calling exit ...