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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001311/0.001311, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.437/1.437, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001717/0.001717, allocations: 115.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1884/0.1884, allocations: 38.01 MB / 340.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.0881, allocations: 53.23 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/0.4099, allocations: 95.03 MB / 0.5392 GB, free: 204 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4103, allocations: 88.98 kB / 0.5393 GB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0722/0.4825, allocations: 26.19 MB / 0.5649 GB, free: 9.621 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4825, allocations: 0 / 0.5649 GB, free: 9.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.4826, allocations: 16 kB / 0.5649 GB, free: 9.605 MB / 378.7 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.00191/0.4845, allocations: 1.108 MB / 0.566 GB, free: 8.504 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4845, allocations: 12.02 kB / 0.566 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.4847, allocations: 137.8 kB / 0.5661 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008367/0.4855, allocations: 174.5 kB / 0.5663 GB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.4887, allocations: 1.294 MB / 0.5675 GB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.4888, allocations: 77.09 kB / 0.5676 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.4889, allocations: 82.59 kB / 0.5677 GB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.4905, allocations: 1.143 MB / 0.5688 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.4905, allocations: 7.953 kB / 0.5688 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.4906, allocations: 35.05 kB / 0.5688 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.495e-05/0.4907, allocations: 81.77 kB / 0.5689 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.4922, allocations: 1.001 MB / 0.5699 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/0.4971, allocations: 4.373 MB / 0.5742 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4982, allocations: 0.6333 MB / 0.5748 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.4983, allocations: 8.609 kB / 0.5748 GB, free: 0.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4983, allocations: 46.25 kB / 0.5748 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.477e-06/0.4983, allocations: 0 / 0.5748 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002663/0.501, allocations: 1.77 MB / 0.5766 GB, free: 15.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.501, allocations: 85.67 kB / 0.5766 GB, free: 15.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004879/0.5015, allocations: 492.9 kB / 0.5771 GB, free: 14.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.5016, allocations: 36.64 kB / 0.5771 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.5018, allocations: 441 kB / 0.5776 GB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.502, allocations: 219 kB / 0.5778 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.502, allocations: 20.06 kB / 0.5778 GB, free: 14.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5022, allocations: 382.5 kB / 0.5782 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.5026, allocations: 288.9 kB / 0.5784 GB, free: 13.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.5032, allocations: 0.607 MB / 0.579 GB, free: 13.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.5038, allocations: 407 kB / 0.5794 GB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5038, allocations: 4 kB / 0.5794 GB, free: 12.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001936/0.5057, allocations: 1.173 MB / 0.5806 GB, free: 11.87 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5058, allocations: 16.06 kB / 0.5806 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001225/0.507, allocations: 0.7243 MB / 0.5813 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/0.5077, allocations: 224.3 kB / 0.5815 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.5084, allocations: 203.5 kB / 0.5817 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004332/0.5127, allocations: 4.991 MB / 0.5866 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.5132, allocations: 37.34 kB / 0.5866 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.5133, allocations: 48.73 kB / 0.5867 GB, free: 5.941 MB / 394.7 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_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],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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005232/0.5138, allocations: 348.1 kB / 0.587 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.5139, allocations: 67.12 kB / 0.5871 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.515, allocations: 0.6599 MB / 0.5877 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.515, allocations: 8 kB / 0.5877 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.515, allocations: 3.938 kB / 0.5877 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.515, allocations: 15.94 kB / 0.5877 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.5176, allocations: 1.614 MB / 0.5893 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5176, allocations: 4 kB / 0.5893 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.5184, allocations: 163.8 kB / 0.5895 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5184, allocations: 8 kB / 0.5895 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.5184, allocations: 20.2 kB / 0.5895 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.5185, allocations: 4 kB / 0.5895 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5185, allocations: 4 kB / 0.5895 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.5198, allocations: 1.132 MB / 0.5906 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.5201, allocations: 184.2 kB / 0.5908 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.5202, allocations: 19.98 kB / 0.5908 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.5205, allocations: 12 kB / 0.5908 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5206, allocations: 56.39 kB / 0.5909 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.5207, allocations: 19.98 kB / 0.5909 GB, free: 1.754 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.521, allocations: 358.8 kB / 0.5912 GB, free: 1.406 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.521, allocations: 0 / 0.5912 GB, free: 1.406 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008023/0.5218, allocations: 240.7 kB / 0.5914 GB, free: 1.172 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001878/0.5237, allocations: 2.27 MB / 0.5937 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.5254, allocations: 1.115 MB / 0.5948 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5254, allocations: 4.062 kB / 0.5948 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.5258, allocations: 319 kB / 0.5951 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.5265, allocations: 142.7 kB / 0.5952 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009399/0.5359, allocations: 12.51 MB / 0.6074 GB, free: 396 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007527/0.5367, allocations: 1.088 MB / 0.6085 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006104/0.5373, allocations: 225.6 kB / 0.6087 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.5377, allocations: 307.3 kB / 0.609 GB, free: 14.75 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5377, allocations: 0 / 0.609 GB, free: 14.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.5672, allocations: 14.8 MB / 0.6234 GB, free: 15.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.5675, allocations: 193.5 kB / 0.6236 GB, free: 15.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.903, allocations: 7.766 kB / 0.6236 GB, free: 15.7 MB / 442.7 MB (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/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)