Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.00208/0.002079, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 86.22 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2531/0.2531, allocations: 37.99 MB / 347.7 MB, free: 5.773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/2.001e-05, allocations: 0 / 409.9 MB, free: 35.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/0.6204, allocations: 99.17 MB / 0.5522 GB, free: 9.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.6207, allocations: 79.48 kB / 0.5523 GB, free: 9.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1126/0.7334, allocations: 25.99 MB / 0.5776 GB, free: 5.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7334, allocations: 0 / 0.5776 GB, free: 5.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.619e-05/0.7335, allocations: 23.98 kB / 0.5777 GB, free: 5.938 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.002933/0.7364, allocations: 1.015 MB / 0.5787 GB, free: 4.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.7365, allocations: 11.97 kB / 0.5787 GB, free: 4.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.7382, allocations: 166.7 kB / 0.5788 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005536/0.7438, allocations: 1.287 MB / 0.5801 GB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.7439, allocations: 31.25 kB / 0.5801 GB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.7441, allocations: 55.91 kB / 0.5802 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002247/0.7464, allocations: 0.8236 MB / 0.581 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.7488, allocations: 1.014 MB / 0.582 GB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.577e-05/0.7489, allocations: 7.562 kB / 0.582 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.749, allocations: 4 kB / 0.582 GB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.7492, allocations: 77.33 kB / 0.582 GB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008592/0.7578, allocations: 4.089 MB / 0.586 GB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.7595, allocations: 0.5781 MB / 0.5866 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.7602, allocations: 303.9 kB / 0.5869 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-05/0.7603, allocations: 12.5 kB / 0.5869 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.7603, allocations: 38.5 kB / 0.5869 GB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.316e-06/0.7603, allocations: 4 kB / 0.5869 GB, free: 13.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.003569/0.7639, allocations: 1.44 MB / 0.5884 GB, free: 12.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.764, allocations: 85.67 kB / 0.5884 GB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007946/0.7648, allocations: 459.7 kB / 0.5889 GB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.339e-05/0.7649, allocations: 25.7 kB / 0.5889 GB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.7653, allocations: 484 kB / 0.5894 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.7656, allocations: 213.4 kB / 0.5896 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.7657, allocations: 4.031 kB / 0.5896 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7658, allocations: 349.5 kB / 0.5899 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.7665, allocations: 273.7 kB / 0.5902 GB, free: 10.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/0.7675, allocations: 0.5892 MB / 0.5907 GB, free: 10.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.7683, allocations: 384.4 kB / 0.5911 GB, free: 9.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.7684, allocations: 0 / 0.5911 GB, free: 9.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003154/0.7715, allocations: 1.049 MB / 0.5921 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.7716, allocations: 8 kB / 0.5921 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002045/0.7737, allocations: 0.6664 MB / 0.5928 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.7749, allocations: 221.5 kB / 0.593 GB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.7764, allocations: 213.9 kB / 0.5932 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/0.783, allocations: 4.708 MB / 0.5978 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/0.784, allocations: 19.92 kB / 0.5978 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.7841, allocations: 44.81 kB / 0.5979 GB, free: 3.434 MB / 394.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.0002944/0.7845, allocations: 158 kB / 0.598 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001345/0.7858, allocations: 0.544 MB / 0.5985 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.786, allocations: 67.16 kB / 0.5986 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.7875, allocations: 0.6061 MB / 0.5992 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.7875, allocations: 8 kB / 0.5992 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7875, allocations: 4.031 kB / 0.5992 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7876, allocations: 3.984 kB / 0.5992 GB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/0.7915, allocations: 1.43 MB / 0.6006 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.7916, allocations: 0 / 0.6006 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001442/0.793, allocations: 161.5 kB / 0.6008 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.249e-05/0.7931, allocations: 8.219 kB / 0.6008 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/0.7931, allocations: 21.36 kB / 0.6008 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.7932, allocations: 4 kB / 0.6008 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.7932, allocations: 3.953 kB / 0.6008 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.7953, allocations: 1.059 MB / 0.6018 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.7958, allocations: 189 kB / 0.602 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.7959, allocations: 4 kB / 0.602 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.7965, allocations: 7.984 kB / 0.602 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.7966, allocations: 51.91 kB / 0.6021 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.7967, allocations: 15.12 kB / 0.6021 GB, free: 15.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005717/0.7973, allocations: 328.2 kB / 0.6024 GB, free: 15.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7973, allocations: 0 / 0.6024 GB, free: 15.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001317/0.7987, allocations: 209.8 kB / 0.6026 GB, free: 15.29 MB / 410.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.002847/0.8015, allocations: 2.205 MB / 0.6048 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002576/0.8041, allocations: 1.027 MB / 0.6058 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8042, allocations: 0 / 0.6058 GB, free: 12.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.8049, allocations: 303.3 kB / 0.606 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.8061, allocations: 126 kB / 0.6062 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.8113, allocations: 1.84 MB / 0.608 GB, free: 9.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.8124, allocations: 1.096 MB / 0.609 GB, free: 8.785 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007639/0.8132, allocations: 319.3 kB / 0.6093 GB, free: 8.473 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8132, allocations: 3.938 kB / 0.6093 GB, free: 8.469 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.205/4.018, allocations: 17.57 MB / 0.6265 GB, free: 6.895 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_cpp_PowerSystems.Examples.Introductory.Display.pipe 2>&1)