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.001452/0.001452, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.875/1.875, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001828/0.001829, allocations: 122.3 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1761/0.1761, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.683e-05, allocations: 4 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3508, allocations: 53.22 MB / 450.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.8201, allocations: 94.94 MB / 0.533 GB, free: 31.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000516/0.8207, allocations: 83.25 kB / 0.5331 GB, free: 31.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08152/0.9023, allocations: 26.18 MB / 0.5586 GB, free: 28.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.9023, allocations: 0 / 0.5586 GB, free: 28.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-05/0.9024, allocations: 19.44 kB / 0.5587 GB, free: 28.79 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.00223/0.9046, allocations: 1.021 MB / 0.5597 GB, free: 28.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.9047, allocations: 7.812 kB / 0.5597 GB, free: 28.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/0.9049, allocations: 144 kB / 0.5598 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.906, allocations: 169.6 kB / 0.56 GB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/0.9101, allocations: 1.279 MB / 0.5612 GB, free: 27.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.9103, allocations: 78.19 kB / 0.5613 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.9105, allocations: 83.53 kB / 0.5614 GB, free: 27.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9125, allocations: 1.133 MB / 0.5625 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.9126, allocations: 11.8 kB / 0.5625 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.9127, allocations: 32.39 kB / 0.5625 GB, free: 27.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.9128, allocations: 79.19 kB / 0.5626 GB, free: 27.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.9144, allocations: 0.9813 MB / 0.5635 GB, free: 27.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006173/0.9206, allocations: 4.361 MB / 0.5678 GB, free: 25.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.9217, allocations: 0.6154 MB / 0.5684 GB, free: 25.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004096/0.9221, allocations: 319.7 kB / 0.5687 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.9222, allocations: 4.469 kB / 0.5687 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9222, allocations: 54 kB / 0.5688 GB, free: 25.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.707e-06/0.9222, allocations: 0 / 0.5688 GB, free: 25.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002603/0.9248, allocations: 1.534 MB / 0.5703 GB, free: 24.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.9249, allocations: 89 kB / 0.5703 GB, free: 24.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005708/0.9255, allocations: 485.2 kB / 0.5708 GB, free: 24.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.9256, allocations: 36.27 kB / 0.5708 GB, free: 24.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.9258, allocations: 444.9 kB / 0.5713 GB, free: 24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.9259, allocations: 214.7 kB / 0.5715 GB, free: 23.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.9259, allocations: 18.09 kB / 0.5715 GB, free: 23.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9261, allocations: 385.1 kB / 0.5719 GB, free: 23.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.9264, allocations: 279.6 kB / 0.5721 GB, free: 23.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.9269, allocations: 0.6061 MB / 0.5727 GB, free: 23.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.9275, allocations: 397.1 kB / 0.5731 GB, free: 23.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.9275, allocations: 3.906 kB / 0.5731 GB, free: 23.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002122/0.9296, allocations: 1.158 MB / 0.5742 GB, free: 22.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.9296, allocations: 7.875 kB / 0.5742 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001182/0.9308, allocations: 0.7178 MB / 0.5749 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000706/0.9316, allocations: 216.3 kB / 0.5751 GB, free: 22.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.9323, allocations: 209.9 kB / 0.5753 GB, free: 22.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.9363, allocations: 4.914 MB / 0.5801 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009019/0.9373, allocations: 37.75 kB / 0.5802 GB, free: 18.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/0.9374, allocations: 46.23 kB / 0.5802 GB, free: 18.88 MB / 378.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 () * 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.000326/0.9377, allocations: 192.5 kB / 0.5804 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.9379, allocations: 70.61 kB / 0.5805 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.9391, allocations: 0.6537 MB / 0.5811 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.9391, allocations: 7.812 kB / 0.5811 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9391, allocations: 3.953 kB / 0.5811 GB, free: 18.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9391, allocations: 3.984 kB / 0.5811 GB, free: 18.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.9421, allocations: 1.605 MB / 0.5827 GB, free: 17.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.9422, allocations: 3.938 kB / 0.5827 GB, free: 17.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/0.9429, allocations: 160.3 kB / 0.5829 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.9429, allocations: 3.906 kB / 0.5829 GB, free: 17.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.943, allocations: 18.89 kB / 0.5829 GB, free: 17.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.943, allocations: 3.938 kB / 0.5829 GB, free: 17.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.943, allocations: 4.219 kB / 0.5829 GB, free: 17.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.9445, allocations: 1.118 MB / 0.584 GB, free: 17.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.9449, allocations: 193.2 kB / 0.5842 GB, free: 17.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.945, allocations: 15.14 kB / 0.5842 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.9453, allocations: 15.06 kB / 0.5842 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.9455, allocations: 55.27 kB / 0.5842 GB, free: 17.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.9456, allocations: 19.58 kB / 0.5843 GB, free: 17.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005444/0.9461, allocations: 349.5 kB / 0.5846 GB, free: 17.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.9461, allocations: 0 / 0.5846 GB, free: 17.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001345/0.9475, allocations: 242.3 kB / 0.5848 GB, free: 17.03 MB / 378.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 () * 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.001862/0.9494, allocations: 2.26 MB / 0.587 GB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.9511, allocations: 1.09 MB / 0.5881 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.9511, allocations: 3.875 kB / 0.5881 GB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004098/0.9515, allocations: 321.2 kB / 0.5884 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009686/0.9525, allocations: 125.2 kB / 0.5885 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.9561, allocations: 1.814 MB / 0.5903 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.9568, allocations: 1.082 MB / 0.5914 GB, free: 13.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000669/0.9575, allocations: 222.6 kB / 0.5916 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.9579, allocations: 306.8 kB / 0.5919 GB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 4.027e-06/0.9579, allocations: 0 / 0.5919 GB, free: 12.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.9945, allocations: 14.81 MB / 0.6063 GB, free: 5.891 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/0.9948, allocations: 168 kB / 0.6065 GB, free: 5.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/3.774, allocations: 0 / 0.6065 GB, free: 5.664 MB / 378.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)