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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 89.59 kB / 16.65 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 182 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1858/0.1858, allocations: 38.06 MB / 310.1 MB, free: 5.891 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005195, allocations: 16 kB / 377.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2251, allocations: 56.32 MB / 433.6 MB, free: 18.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.005494/0.2306, allocations: 7.244 MB / 440.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.2339, allocations: 2.365 MB / 443.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.2343, allocations: 39.75 kB / 443.2 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.2346, allocations: 107.2 kB / 443.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2357, allocations: 0.5292 MB / 443.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.2361, allocations: 211.7 kB / 444.1 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2372, allocations: 1.808 MB / 445.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.2384, allocations: 0.9697 MB / 446.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.2389, allocations: 409.9 kB / 447.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.2395, allocations: 0.6113 MB / 447.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.2396, allocations: 36 kB / 447.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.24, allocations: 227.7 kB / 448.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.2402, allocations: 446.8 kB / 448.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.2405, allocations: 475.2 kB / 449 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.2412, allocations: 1.117 MB / 450.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2412, allocations: 0 / 450.1 MB, free: 1.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2412, allocations: 4 kB / 450.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.2412, allocations: 0 / 450.1 MB, free: 1.988 MB / 318.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.001425/0.2426, allocations: 1.048 MB / 451.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2427, allocations: 8.031 kB / 451.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.2428, allocations: 147.9 kB / 451.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.2436, allocations: 159.5 kB / 451.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007794/0.2444, allocations: 0.5928 MB / 452.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.2445, allocations: 70.36 kB / 452.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.2447, allocations: 95.91 kB / 452.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.2464, allocations: 1.161 MB / 453.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.2464, allocations: 4 kB / 453.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/0.2465, allocations: 32 kB / 453.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.2466, allocations: 85.89 kB / 453.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.2481, allocations: 1.003 MB / 454.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.253, allocations: 4.374 MB / 458.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2541, allocations: 0.6141 MB / 459.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.2546, allocations: 319.2 kB / 459.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.2546, allocations: 8.562 kB / 459.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.2547, allocations: 39.12 kB / 459.9 MB, free: 7.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 2.595e-06/0.2547, allocations: 7.938 kB / 459.9 MB, free: 7.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.002641/0.2573, allocations: 1.734 MB / 461.6 MB, free: 6.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.2574, allocations: 85.61 kB / 461.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/0.258, allocations: 0.5494 MB / 462.3 MB, free: 5.371 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.258, allocations: 41.7 kB / 462.3 MB, free: 5.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2583, allocations: 438.8 kB / 462.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.2585, allocations: 220.9 kB / 462.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2586, allocations: 97.66 kB / 463 MB, free: 4.566 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2588, allocations: 378.8 kB / 463.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.2592, allocations: 289.8 kB / 463.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.2599, allocations: 0.6036 MB / 464.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.2611, allocations: 0.9769 MB / 465.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2611, allocations: 7.938 kB / 465.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002048/0.2632, allocations: 1.167 MB / 466.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.2632, allocations: 12.95 kB / 466.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001272/0.2645, allocations: 0.7183 MB / 467.2 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.2652, allocations: 214.4 kB / 467.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/0.266, allocations: 227.6 kB / 467.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.2703, allocations: 4.926 MB / 472.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.2708, allocations: 35.98 kB / 472.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.2709, allocations: 36 kB / 472.6 MB, free: 10.24 MB / 350.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.0004692/0.2713, allocations: 357.4 kB / 473 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.2714, allocations: 71.09 kB / 473 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.2725, allocations: 0.6499 MB / 473.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2725, allocations: 4 kB / 473.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2725, allocations: 4 kB / 473.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.2725, allocations: 3.984 kB / 473.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.2749, allocations: 1.539 MB / 475.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2749, allocations: 3.938 kB / 475.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.2756, allocations: 172 kB / 475.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.2757, allocations: 4 kB / 475.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.2757, allocations: 20 kB / 475.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.2757, allocations: 11.92 kB / 475.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.2757, allocations: 8.172 kB / 475.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.2772, allocations: 1.014 MB / 476.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.2774, allocations: 188.2 kB / 476.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.2775, allocations: 16 kB / 476.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2778, allocations: 15.98 kB / 476.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.2779, allocations: 52.38 kB / 476.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.278, allocations: 24 kB / 476.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.2783, allocations: 358.8 kB / 477.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2784, allocations: 0 / 477.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008222/0.2792, allocations: 224 kB / 477.3 MB, free: 5.395 MB / 350.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.00174/0.2809, allocations: 1.594 MB / 478.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.2827, allocations: 1.103 MB / 480 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2827, allocations: 0 / 480 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.2831, allocations: 315 kB / 480.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009001/0.2841, allocations: 147.9 kB / 480.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009603/0.2937, allocations: 7.726 MB / 488.2 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.2944, allocations: 1.063 MB / 489.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006633/0.2951, allocations: 237.5 kB / 489.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.2955, allocations: 311.3 kB / 489.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2955, allocations: 0 / 489.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.3235, allocations: 14.44 MB / 0.4924 GB, free: 9.957 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.3237, allocations: 211.8 kB / 0.4926 GB, free: 9.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.379, allocations: 3.938 kB / 0.4926 GB, free: 9.695 MB / 382.1 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/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)