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.0018/0.0018, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002798/0.002798, allocations: 202.2 kB / 24.52 MB, free: 4.156 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.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1897/0.1897, allocations: 38.53 MB / 353.2 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Display",fmuType="cs",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.002407/0.002407, allocations: 72.08 kB / 493.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3773, allocations: 62.47 MB / 0.5428 GB, free: 304 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.0104/0.3877, allocations: 6.828 MB / 0.5494 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.3927, allocations: 2.062 MB / 0.5514 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.3934, allocations: 31.69 kB / 0.5515 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.3956, allocations: 0.7476 MB / 0.5522 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.3978, allocations: 0.5754 MB / 0.5528 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.3988, allocations: 257.2 kB / 0.553 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.4006, allocations: 1.149 MB / 0.5541 GB, free: 7.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007507/0.4013, allocations: 484.4 kB / 0.5546 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.4024, allocations: 0.5226 MB / 0.5551 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.4035, allocations: 0.6591 MB / 0.5557 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4036, allocations: 68.31 kB / 0.5558 GB, free: 6.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.4043, allocations: 299.9 kB / 0.5561 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.4049, allocations: 492 kB / 0.5566 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.4055, allocations: 494.8 kB / 0.557 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.4071, allocations: 1.189 MB / 0.5582 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4071, allocations: 0 / 0.5582 GB, free: 4.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.4071, allocations: 0 / 0.5582 GB, free: 4.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.4071, allocations: 0 / 0.5582 GB, free: 4.508 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.002325/0.4094, allocations: 1.164 MB / 0.5593 GB, free: 3.309 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.4095, allocations: 11.98 kB / 0.5593 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.075e-05/0.4095, allocations: 22.19 kB / 0.5594 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.4097, allocations: 151.9 kB / 0.5595 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009549/0.4106, allocations: 160.2 kB / 0.5597 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4119, allocations: 0.5549 MB / 0.5602 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.4119, allocations: 74.11 kB / 0.5603 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.4122, allocations: 95.97 kB / 0.5604 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.414, allocations: 1.153 MB / 0.5615 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.414, allocations: 15.92 kB / 0.5615 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.4141, allocations: 35.98 kB / 0.5615 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.4142, allocations: 85.83 kB / 0.5616 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.4159, allocations: 1.003 MB / 0.5626 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005734/0.4217, allocations: 4.272 MB / 0.5668 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.4229, allocations: 0.5878 MB / 0.5673 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/0.4234, allocations: 282.3 kB / 0.5676 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.4235, allocations: 12.5 kB / 0.5676 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.4235, allocations: 43.06 kB / 0.5677 GB, free: 10.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.016e-06/0.4235, allocations: 0 / 0.5677 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003361/0.4269, allocations: 1.689 MB / 0.5693 GB, free: 8.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.427, allocations: 85.77 kB / 0.5694 GB, free: 8.598 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.4279, allocations: 0.5497 MB / 0.5699 GB, free: 8.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.4279, allocations: 33.7 kB / 0.57 GB, free: 8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/0.4284, allocations: 448.1 kB / 0.5704 GB, free: 7.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.4287, allocations: 238 kB / 0.5706 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.4291, allocations: 178.6 kB / 0.5708 GB, free: 7.141 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000301/0.4294, allocations: 382.8 kB / 0.5712 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/0.4299, allocations: 285.8 kB / 0.5714 GB, free: 6.477 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/0.4309, allocations: 0.6115 MB / 0.572 GB, free: 5.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.4324, allocations: 0.9749 MB / 0.573 GB, free: 4.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.4324, allocations: 4 kB / 0.573 GB, free: 4.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002339/0.4348, allocations: 1.179 MB / 0.5741 GB, free: 3.391 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4348, allocations: 8 kB / 0.5741 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001358/0.4362, allocations: 0.7107 MB / 0.5748 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.4369, allocations: 210.4 kB / 0.575 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007808/0.4377, allocations: 227.6 kB / 0.5753 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.443, allocations: 5.059 MB / 0.5802 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.4437, allocations: 32.06 kB / 0.5802 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/0.4438, allocations: 47.98 kB / 0.5803 GB, free: 12.74 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.0005852/0.4444, allocations: 345.5 kB / 0.5806 GB, free: 12.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.4445, allocations: 75.5 kB / 0.5807 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.4457, allocations: 0.66 MB / 0.5813 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4457, allocations: 4 kB / 0.5813 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4457, allocations: 8 kB / 0.5813 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4457, allocations: 3.984 kB / 0.5813 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/0.4484, allocations: 1.51 MB / 0.5828 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4484, allocations: 0 / 0.5828 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.4492, allocations: 175.6 kB / 0.583 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.4492, allocations: 4 kB / 0.583 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.4492, allocations: 19.98 kB / 0.583 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.4492, allocations: 4.156 kB / 0.583 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4492, allocations: 4.234 kB / 0.583 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.4508, allocations: 1.032 MB / 0.584 GB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.4511, allocations: 103.6 kB / 0.5841 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.4511, allocations: 16 kB / 0.5841 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.4514, allocations: 19.98 kB / 0.5841 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.4516, allocations: 44.36 kB / 0.5842 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4516, allocations: 19.98 kB / 0.5842 GB, free: 8.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004246/0.452, allocations: 358.8 kB / 0.5846 GB, free: 8.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.452, allocations: 0 / 0.5846 GB, free: 8.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.4529, allocations: 224 kB / 0.5848 GB, free: 8.027 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.001972/0.4549, allocations: 1.597 MB / 0.5863 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.4568, allocations: 1.08 MB / 0.5874 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4568, allocations: 0 / 0.5874 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.4573, allocations: 298.8 kB / 0.5877 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/0.4581, allocations: 160.9 kB / 0.5878 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.4685, allocations: 7.17 MB / 0.5948 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.4692, allocations: 1.067 MB / 0.5959 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.4699, allocations: 229.6 kB / 0.5961 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.4703, allocations: 311.3 kB / 0.5964 GB, free: 11.58 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4703, allocations: 0 / 0.5964 GB, free: 11.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05056/0.5209, allocations: 16.32 MB / 0.6123 GB, free: 11.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.14, allocations: 10.75 kB / 0.6123 GB, free: 11.4 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.293190215015784] Failed to read output from testmodel.py, exit status != 0: 13.315524737001397 13.331804089 12.921274811 Calling exit ...