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.001344/0.001344, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001465/0.001465, allocations: 206.3 kB / 23.73 MB, free: 4.523 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.515/1.515, 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.1921/0.1921, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002848/0.002848, allocations: 71.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3295, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009187/0.3387, allocations: 6.329 MB / 0.5481 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.3434, allocations: 1.921 MB / 0.55 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005947/0.344, allocations: 31.47 kB / 0.55 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.3462, allocations: 0.715 MB / 0.5507 GB, free: 9.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.3479, allocations: 0.573 MB / 0.5513 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008369/0.3487, allocations: 257.1 kB / 0.5515 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.3506, allocations: 1.147 MB / 0.5526 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.3515, allocations: 480.9 kB / 0.5531 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.3525, allocations: 0.5354 MB / 0.5536 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009467/0.3534, allocations: 0.6584 MB / 0.5543 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.3535, allocations: 67.94 kB / 0.5543 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005968/0.3541, allocations: 293.3 kB / 0.5546 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.3547, allocations: 486.3 kB / 0.5551 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.3552, allocations: 416.9 kB / 0.5555 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3567, allocations: 1.195 MB / 0.5566 GB, free: 5.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3567, allocations: 0 / 0.5566 GB, free: 5.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3567, allocations: 8 kB / 0.5566 GB, free: 5.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.3567, allocations: 0 / 0.5566 GB, free: 5.172 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.00217/0.3589, allocations: 1.158 MB / 0.5578 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3589, allocations: 11.98 kB / 0.5578 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.3591, allocations: 155.9 kB / 0.5579 GB, free: 3.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.36, allocations: 160.2 kB / 0.5581 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.3613, allocations: 0.5588 MB / 0.5586 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.3613, allocations: 66.36 kB / 0.5587 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.3616, allocations: 103.9 kB / 0.5588 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.3634, allocations: 1.153 MB / 0.5599 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.3634, allocations: 7.984 kB / 0.5599 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.3635, allocations: 32 kB / 0.56 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/0.3637, allocations: 85.89 kB / 0.56 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.3654, allocations: 0.9913 MB / 0.561 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005898/0.3713, allocations: 3.892 MB / 0.5648 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3725, allocations: 0.5832 MB / 0.5654 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007167/0.3733, allocations: 288.5 kB / 0.5656 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.3733, allocations: 12.5 kB / 0.5657 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.3734, allocations: 39.06 kB / 0.5657 GB, free: 11.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.547e-06/0.3734, allocations: 3.938 kB / 0.5657 GB, free: 11.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.004032/0.3774, allocations: 1.684 MB / 0.5673 GB, free: 9.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.3775, allocations: 89.77 kB / 0.5674 GB, free: 9.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/0.3782, allocations: 0.5611 MB / 0.568 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.3782, allocations: 33.7 kB / 0.568 GB, free: 9.117 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.3786, allocations: 456 kB / 0.5684 GB, free: 8.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000281/0.3789, allocations: 226.1 kB / 0.5687 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.3793, allocations: 190.5 kB / 0.5688 GB, free: 8.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.3796, allocations: 378.8 kB / 0.5692 GB, free: 7.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007997/0.3804, allocations: 289.8 kB / 0.5695 GB, free: 7.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.3816, allocations: 0.6117 MB / 0.5701 GB, free: 6.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/0.3838, allocations: 0.9749 MB / 0.571 GB, free: 5.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.3838, allocations: 4 kB / 0.571 GB, free: 5.695 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003794/0.3876, allocations: 1.167 MB / 0.5722 GB, free: 4.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.3877, allocations: 8 kB / 0.5722 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001627/0.3893, allocations: 0.7106 MB / 0.5729 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009101/0.3902, allocations: 218.8 kB / 0.5731 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000904/0.3911, allocations: 215.6 kB / 0.5733 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.397, allocations: 5.039 MB / 0.5782 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.3976, allocations: 32 kB / 0.5782 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.806e-05/0.3977, allocations: 47.98 kB / 0.5783 GB, free: 13.89 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.0005538/0.3983, allocations: 345.5 kB / 0.5786 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.3984, allocations: 71.52 kB / 0.5787 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.3996, allocations: 0.66 MB / 0.5793 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.3996, allocations: 11.94 kB / 0.5793 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.3996, allocations: 0 / 0.5793 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.3996, allocations: 3.984 kB / 0.5793 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.4024, allocations: 1.451 MB / 0.5808 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4024, allocations: 4.156 kB / 0.5808 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.4033, allocations: 175.8 kB / 0.5809 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.4033, allocations: 4 kB / 0.5809 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.4033, allocations: 15.98 kB / 0.581 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.4033, allocations: 7.938 kB / 0.581 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4033, allocations: 4 kB / 0.581 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.405, allocations: 1.025 MB / 0.582 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.4053, allocations: 111.6 kB / 0.5821 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.4054, allocations: 19.95 kB / 0.5821 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.4057, allocations: 20.11 kB / 0.5821 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.4058, allocations: 44.36 kB / 0.5822 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.715e-05/0.4059, allocations: 27.98 kB / 0.5822 GB, free: 9.785 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004538/0.4063, allocations: 358.8 kB / 0.5825 GB, free: 9.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4063, allocations: 0 / 0.5825 GB, free: 9.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008784/0.4072, allocations: 216 kB / 0.5827 GB, free: 9.227 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.00197/0.4092, allocations: 1.592 MB / 0.5843 GB, free: 7.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002005/0.4112, allocations: 1.082 MB / 0.5853 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4112, allocations: 0 / 0.5853 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005036/0.4117, allocations: 299.6 kB / 0.5856 GB, free: 6.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.4126, allocations: 165.4 kB / 0.5858 GB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.4235, allocations: 7.17 MB / 0.5928 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.4241, allocations: 474.7 kB / 0.5932 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006389/0.4247, allocations: 233.5 kB / 0.5935 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.4252, allocations: 307.3 kB / 0.5937 GB, free: 13.4 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4252, allocations: 0 / 0.5937 GB, free: 13.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.484, allocations: 16.8 MB / 0.6102 GB, free: 12.81 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.55, allocations: 4 kB / 0.6102 GB, free: 12.8 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: 15.486627236998174] Failed to read output from testmodel.py, exit status != 0: 12.673727711022366 12.704172251 12.341857064 Calling exit ...