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.001035/0.001035, allocations: 179.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.654/1.654, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001668/0.001668, allocations: 115.5 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1628/0.1628, allocations: 37.93 MB / 330.9 MB, free: 2.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.205e-05, allocations: 4 kB / 390.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 53.23 MB / 443.7 MB, free: 17.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.4096, allocations: 94.28 MB / 0.5254 GB, free: 3.273 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.41, allocations: 75.97 kB / 0.5254 GB, free: 3.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2999/0.7099, allocations: 26 MB / 0.5508 GB, free: 78.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7099, allocations: 0.9375 kB / 0.5508 GB, free: 78.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.71, allocations: 16 kB / 0.5508 GB, free: 78.33 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.001533/0.7115, allocations: 1.014 MB / 0.5518 GB, free: 77.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.7116, allocations: 8.031 kB / 0.5518 GB, free: 77.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/0.7125, allocations: 170.6 kB / 0.552 GB, free: 77.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.7155, allocations: 1.291 MB / 0.5533 GB, free: 75.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.7156, allocations: 28 kB / 0.5533 GB, free: 75.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.7157, allocations: 55.98 kB / 0.5533 GB, free: 75.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001133/0.7168, allocations: 0.8238 MB / 0.5541 GB, free: 74.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7181, allocations: 1.012 MB / 0.5551 GB, free: 73.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.7181, allocations: 11.84 kB / 0.5551 GB, free: 73.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.7182, allocations: 0 / 0.5551 GB, free: 73.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.883e-05/0.7183, allocations: 89.89 kB / 0.5552 GB, free: 73.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.7223, allocations: 4.08 MB / 0.5592 GB, free: 69.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.7231, allocations: 0.5793 MB / 0.5598 GB, free: 68.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/0.7234, allocations: 299.3 kB / 0.5601 GB, free: 68.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.7235, allocations: 12.5 kB / 0.5601 GB, free: 68.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.7235, allocations: 47.12 kB / 0.5601 GB, free: 68.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.084e-06/0.7235, allocations: 0 / 0.5601 GB, free: 68.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.001786/0.7253, allocations: 1.433 MB / 0.5615 GB, free: 66.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.7253, allocations: 85.67 kB / 0.5616 GB, free: 66.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.7257, allocations: 449.9 kB / 0.562 GB, free: 66.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.7258, allocations: 29.7 kB / 0.5621 GB, free: 66.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.7259, allocations: 450.6 kB / 0.5625 GB, free: 65.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.726, allocations: 212.9 kB / 0.5627 GB, free: 65.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.7261, allocations: 0 / 0.5627 GB, free: 65.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.7262, allocations: 378.8 kB / 0.563 GB, free: 65.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.7265, allocations: 266.5 kB / 0.5633 GB, free: 65.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.7269, allocations: 0.5948 MB / 0.5639 GB, free: 64.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.7273, allocations: 385.8 kB / 0.5643 GB, free: 63.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7273, allocations: 4 kB / 0.5643 GB, free: 63.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001604/0.7289, allocations: 1.079 MB / 0.5653 GB, free: 62.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.729, allocations: 8 kB / 0.5653 GB, free: 62.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009818/0.73, allocations: 0.6678 MB / 0.566 GB, free: 62.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.7306, allocations: 210.7 kB / 0.5662 GB, free: 61.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/0.7313, allocations: 215.6 kB / 0.5664 GB, free: 61.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.7347, allocations: 4.721 MB / 0.571 GB, free: 56.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/0.7354, allocations: 15.94 kB / 0.571 GB, free: 56.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.7355, allocations: 47.98 kB / 0.571 GB, free: 56.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (109): * Single equations (assignments): 106 * 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.000233/0.7358, allocations: 159.8 kB / 0.5712 GB, free: 56.48 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007294/0.7365, allocations: 0.5449 MB / 0.5717 GB, free: 55.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.517e-05/0.7366, allocations: 71.14 kB / 0.5718 GB, free: 55.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.7374, allocations: 0.5995 MB / 0.5724 GB, free: 55.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7374, allocations: 8 kB / 0.5724 GB, free: 55.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.7374, allocations: 0 / 0.5724 GB, free: 55.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.7374, allocations: 7.984 kB / 0.5724 GB, free: 55.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.7395, allocations: 1.43 MB / 0.5738 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7395, allocations: 0 / 0.5738 GB, free: 53.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.7402, allocations: 168 kB / 0.574 GB, free: 53.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.7402, allocations: 7.938 kB / 0.574 GB, free: 53.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.7402, allocations: 15.95 kB / 0.574 GB, free: 53.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.7403, allocations: 4 kB / 0.574 GB, free: 53.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.7403, allocations: 3.938 kB / 0.574 GB, free: 53.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.7413, allocations: 1.062 MB / 0.575 GB, free: 52.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.7415, allocations: 184.2 kB / 0.5752 GB, free: 52.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.813e-05/0.7416, allocations: 7.984 kB / 0.5752 GB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.7419, allocations: 4 kB / 0.5752 GB, free: 52.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.742, allocations: 48.5 kB / 0.5753 GB, free: 52.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.282e-05/0.742, allocations: 23.98 kB / 0.5753 GB, free: 52.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002794/0.7423, allocations: 322.9 kB / 0.5756 GB, free: 51.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7423, allocations: 0 / 0.5756 GB, free: 51.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008976/0.7432, allocations: 208.5 kB / 0.5758 GB, free: 51.59 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.001272/0.7445, allocations: 2.188 MB / 0.5779 GB, free: 49.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.7459, allocations: 1.032 MB / 0.5789 GB, free: 48.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7459, allocations: 0.6875 kB / 0.5789 GB, free: 48.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.7463, allocations: 302 kB / 0.5792 GB, free: 47.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.747, allocations: 140.5 kB / 0.5794 GB, free: 47.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.7495, allocations: 1.75 MB / 0.5811 GB, free: 46.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.75, allocations: 1.088 MB / 0.5821 GB, free: 44.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005865/0.7506, allocations: 221.6 kB / 0.5823 GB, free: 44.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.7509, allocations: 315.3 kB / 0.5826 GB, free: 44.37 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.7509, allocations: 0 / 0.5826 GB, free: 44.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.7843, allocations: 14.1 MB / 0.5964 GB, free: 30.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.7844, allocations: 125.5 kB / 0.5965 GB, free: 30.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.42, allocations: 0 / 0.5965 GB, free: 30.06 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)