Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.00137/0.00137, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00156/0.00156, allocations: 209.8 kB / 23.74 MB, free: 4.691 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1869/0.1869, allocations: 38.52 MB / 352.4 MB, free: 12.54 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.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",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.001982/0.001982, allocations: 63.89 kB / 492.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3265, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009235/0.3358, allocations: 6.827 MB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.3402, allocations: 2.059 MB / 0.5507 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005261/0.3408, allocations: 33.97 kB / 0.5507 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.3428, allocations: 0.738 MB / 0.5514 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3444, allocations: 0.5785 MB / 0.552 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.3452, allocations: 256.6 kB / 0.5522 GB, free: 8.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.3467, allocations: 1.145 MB / 0.5533 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007865/0.3475, allocations: 484.4 kB / 0.5538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.3484, allocations: 0.5354 MB / 0.5543 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3494, allocations: 0.6585 MB / 0.555 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.3496, allocations: 71.38 kB / 0.555 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008243/0.3504, allocations: 285.5 kB / 0.5553 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007086/0.3511, allocations: 494.6 kB / 0.5558 GB, free: 6.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008301/0.352, allocations: 495.3 kB / 0.5563 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.354, allocations: 1.184 MB / 0.5574 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.354, allocations: 4 kB / 0.5574 GB, free: 4.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.354, allocations: 0 / 0.5574 GB, free: 4.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.6e-05/0.3541, allocations: 0 / 0.5574 GB, free: 4.656 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002408/0.3565, allocations: 1.166 MB / 0.5586 GB, free: 3.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3565, allocations: 11.98 kB / 0.5586 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.3567, allocations: 139.9 kB / 0.5587 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/0.3577, allocations: 176.2 kB / 0.5589 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.359, allocations: 0.5548 MB / 0.5594 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.879e-05/0.3591, allocations: 66.36 kB / 0.5595 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.3593, allocations: 99.91 kB / 0.5596 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3611, allocations: 1.157 MB / 0.5607 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/0.3611, allocations: 7.953 kB / 0.5607 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.3612, allocations: 39.92 kB / 0.5607 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.3614, allocations: 85.89 kB / 0.5608 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.3631, allocations: 0.9952 MB / 0.5618 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006127/0.3693, allocations: 4.276 MB / 0.566 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.3705, allocations: 0.5878 MB / 0.5666 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.371, allocations: 283.1 kB / 0.5668 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.371, allocations: 12.48 kB / 0.5668 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.3711, allocations: 43.05 kB / 0.5669 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.545e-06/0.3711, allocations: 4 kB / 0.5669 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003092/0.3742, allocations: 1.689 MB / 0.5685 GB, free: 8.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.3742, allocations: 85.77 kB / 0.5686 GB, free: 8.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.3749, allocations: 0.5456 MB / 0.5691 GB, free: 8.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.3749, allocations: 33.7 kB / 0.5692 GB, free: 8.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000358/0.3753, allocations: 448.1 kB / 0.5696 GB, free: 7.719 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.3755, allocations: 238.1 kB / 0.5698 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.3758, allocations: 190.5 kB / 0.57 GB, free: 7.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.376, allocations: 378.8 kB / 0.5704 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005128/0.3765, allocations: 281.8 kB / 0.5706 GB, free: 6.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008081/0.3773, allocations: 0.6076 MB / 0.5712 GB, free: 5.879 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.3787, allocations: 0.9788 MB / 0.5722 GB, free: 4.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3787, allocations: 4 kB / 0.5722 GB, free: 4.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002227/0.3809, allocations: 1.17 MB / 0.5733 GB, free: 3.559 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.381, allocations: 8 kB / 0.5733 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001387/0.3824, allocations: 0.7151 MB / 0.574 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007589/0.3831, allocations: 214.3 kB / 0.5742 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.3839, allocations: 223.7 kB / 0.5745 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.3892, allocations: 5.059 MB / 0.5794 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.3898, allocations: 31.98 kB / 0.5794 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.3899, allocations: 44 kB / 0.5795 GB, free: 12.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005349/0.3904, allocations: 352.2 kB / 0.5798 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.3905, allocations: 75.52 kB / 0.5799 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.3917, allocations: 0.6599 MB / 0.5805 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.3917, allocations: 8 kB / 0.5805 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.3917, allocations: 0 / 0.5805 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3917, allocations: 7.984 kB / 0.5805 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.3944, allocations: 1.498 MB / 0.582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3944, allocations: 4.094 kB / 0.582 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/0.3952, allocations: 175.8 kB / 0.5822 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.3952, allocations: 4 kB / 0.5822 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.3953, allocations: 23.98 kB / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.3953, allocations: 4 kB / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3953, allocations: 0 / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.3969, allocations: 1.036 MB / 0.5832 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.3972, allocations: 103.6 kB / 0.5833 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.3972, allocations: 12 kB / 0.5833 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.3975, allocations: 23.98 kB / 0.5833 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.3977, allocations: 52.34 kB / 0.5834 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.3977, allocations: 24.12 kB / 0.5834 GB, free: 8.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004385/0.3981, allocations: 362.8 kB / 0.5838 GB, free: 8.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3981, allocations: 0 / 0.5838 GB, free: 8.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008397/0.399, allocations: 216 kB / 0.584 GB, free: 8.188 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * 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.002178/0.4012, allocations: 1.597 MB / 0.5855 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.4031, allocations: 1.08 MB / 0.5866 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.4031, allocations: 4 kB / 0.5866 GB, free: 5.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004911/0.4036, allocations: 291.7 kB / 0.5869 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.4044, allocations: 167.3 kB / 0.587 GB, free: 4.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.4159, allocations: 7.166 MB / 0.594 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.4167, allocations: 1.067 MB / 0.5951 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000642/0.4173, allocations: 229.6 kB / 0.5953 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.4178, allocations: 307.3 kB / 0.5956 GB, free: 11.75 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4178, allocations: 4 kB / 0.5956 GB, free: 11.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05377/0.4715, allocations: 16.29 MB / 0.6115 GB, free: 11.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.14, allocations: 8.062 kB / 0.6115 GB, free: 11.59 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.Display_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.064182243004325] Failed to read output from testmodel.py, exit status != 0: 13.263576240002294 13.29380342 12.933447166 Calling exit ...