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.001649/0.001649, 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.001937/0.001937, allocations: 217.2 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.1894/0.1894, 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.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.002123/0.002123, allocations: 67.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3284, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008986/0.3374, allocations: 6.833 MB / 0.5487 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.3418, allocations: 2.058 MB / 0.5507 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005185/0.3423, allocations: 31.59 kB / 0.5507 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.3443, allocations: 0.7474 MB / 0.5514 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.3459, allocations: 0.5753 MB / 0.552 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007773/0.3467, allocations: 252.8 kB / 0.5522 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.3481, allocations: 1.149 MB / 0.5534 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007817/0.3489, allocations: 480.5 kB / 0.5538 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009322/0.3498, allocations: 0.5352 MB / 0.5543 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000974/0.3508, allocations: 0.662 MB / 0.555 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3509, allocations: 68.44 kB / 0.5551 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.3515, allocations: 292.3 kB / 0.5553 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.352, allocations: 491.5 kB / 0.5558 GB, free: 6.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.3526, allocations: 487.5 kB / 0.5563 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.354, allocations: 1.2 MB / 0.5574 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.354, allocations: 0 / 0.5574 GB, free: 4.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.396e-06/0.3541, allocations: 4 kB / 0.5574 GB, free: 4.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.519e-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.002255/0.3563, allocations: 1.157 MB / 0.5586 GB, free: 3.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3564, allocations: 11.98 kB / 0.5586 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.3566, allocations: 143.9 kB / 0.5587 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009299/0.3575, allocations: 168.2 kB / 0.5589 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.3587, allocations: 0.5549 MB / 0.5594 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.3588, allocations: 70.34 kB / 0.5595 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/0.359, allocations: 95.91 kB / 0.5596 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.3609, allocations: 1.153 MB / 0.5607 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.3609, allocations: 11.95 kB / 0.5607 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.361, allocations: 31.94 kB / 0.5607 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.3612, allocations: 89.89 kB / 0.5608 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.3629, allocations: 0.9991 MB / 0.5618 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005608/0.3685, allocations: 4.28 MB / 0.566 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.3696, allocations: 0.5878 MB / 0.5666 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.3701, allocations: 283.1 kB / 0.5668 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.3701, allocations: 8.5 kB / 0.5668 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3702, allocations: 39.06 kB / 0.5669 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.064e-06/0.3702, allocations: 0 / 0.5669 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003033/0.3732, allocations: 1.689 MB / 0.5685 GB, free: 8.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.3732, allocations: 89.7 kB / 0.5686 GB, free: 8.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/0.3739, allocations: 0.5456 MB / 0.5691 GB, free: 8.223 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.3739, allocations: 33.7 kB / 0.5692 GB, free: 8.184 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.3743, allocations: 452.1 kB / 0.5696 GB, free: 7.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.3745, allocations: 234 kB / 0.5698 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.3747, allocations: 186.5 kB / 0.57 GB, free: 7.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3749, allocations: 378.8 kB / 0.5704 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005051/0.3754, allocations: 293.8 kB / 0.5706 GB, free: 6.648 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007734/0.3762, allocations: 0.6037 MB / 0.5712 GB, free: 5.895 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.3775, allocations: 0.9749 MB / 0.5722 GB, free: 4.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3775, allocations: 4 kB / 0.5722 GB, free: 4.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002248/0.3798, allocations: 1.171 MB / 0.5733 GB, free: 3.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3798, allocations: 8 kB / 0.5733 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001457/0.3813, allocations: 0.7106 MB / 0.574 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007391/0.382, allocations: 230.4 kB / 0.5743 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008193/0.3828, allocations: 219.7 kB / 0.5745 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.3883, allocations: 5.067 MB / 0.5794 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.3888, allocations: 32 kB / 0.5794 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.3889, allocations: 43.98 kB / 0.5795 GB, free: 12.92 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.0004854/0.3893, allocations: 348.5 kB / 0.5798 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3895, allocations: 71.52 kB / 0.5799 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3906, allocations: 0.6599 MB / 0.5805 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3906, allocations: 4 kB / 0.5805 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3906, allocations: 4 kB / 0.5805 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3906, allocations: 3.984 kB / 0.5805 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.3933, allocations: 1.506 MB / 0.582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.3933, allocations: 3.938 kB / 0.582 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.3941, allocations: 175.9 kB / 0.5822 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3941, allocations: 8 kB / 0.5822 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/0.3942, allocations: 20 kB / 0.5822 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.3942, allocations: 4 kB / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3942, allocations: 0 / 0.5822 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3957, allocations: 1.032 MB / 0.5832 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002754/0.396, allocations: 103.6 kB / 0.5833 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.432e-05/0.3961, allocations: 16.03 kB / 0.5833 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.3964, allocations: 19.98 kB / 0.5834 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3965, allocations: 52.34 kB / 0.5834 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.3965, allocations: 20 kB / 0.5834 GB, free: 8.766 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004187/0.3969, allocations: 370.7 kB / 0.5838 GB, free: 8.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 0 / 0.5838 GB, free: 8.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008087/0.3978, allocations: 220 kB / 0.584 GB, free: 8.191 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.001839/0.3996, allocations: 1.589 MB / 0.5855 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.4014, allocations: 1.084 MB / 0.5866 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4014, allocations: 0 / 0.5866 GB, free: 5.441 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004969/0.4019, allocations: 294.6 kB / 0.5869 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.4028, allocations: 162 kB / 0.587 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4132, allocations: 7.162 MB / 0.594 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007778/0.414, allocations: 1.067 MB / 0.5951 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006069/0.4146, allocations: 225.6 kB / 0.5953 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.415, allocations: 311.3 kB / 0.5956 GB, free: 11.77 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.415, allocations: 4 kB / 0.5956 GB, free: 11.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.4713, allocations: 16.28 MB / 0.6115 GB, free: 11.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.19, allocations: 4.062 kB / 0.6115 GB, free: 11.61 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.029587771976367] Failed to read output from testmodel.py, exit status != 0: 13.302344338968396 13.320292191 12.962764808 Calling exit ...