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.001499/0.001499, allocations: 184.4 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002124/0.002124, allocations: 94.95 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2775/0.2775, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.405e-05, allocations: 7.984 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 56.3 MB / 473.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4793/0.5837, allocations: 99.84 MB / 0.5596 GB, free: 3.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5841, allocations: 75.97 kB / 0.5597 GB, free: 3.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1264/0.7105, allocations: 26.19 MB / 0.5853 GB, free: 9.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7106, allocations: 0 / 0.5853 GB, free: 9.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.228e-05/0.7107, allocations: 19.94 kB / 0.5853 GB, free: 9.258 MB / 426.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.003303/0.714, allocations: 1.018 MB / 0.5863 GB, free: 8.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.714, allocations: 8.031 kB / 0.5863 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004396/0.7145, allocations: 143.7 kB / 0.5864 GB, free: 8.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.7162, allocations: 166.6 kB / 0.5866 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.7221, allocations: 1.286 MB / 0.5878 GB, free: 6.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.7223, allocations: 69.98 kB / 0.5879 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.7226, allocations: 83.89 kB / 0.588 GB, free: 6.387 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.7256, allocations: 1.126 MB / 0.5891 GB, free: 5.207 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.7257, allocations: 11.92 kB / 0.5891 GB, free: 5.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/0.7259, allocations: 35.98 kB / 0.5891 GB, free: 5.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/0.7261, allocations: 69.97 kB / 0.5892 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.729, allocations: 0.9914 MB / 0.5902 GB, free: 4.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.7392, allocations: 4.358 MB / 0.5944 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.7412, allocations: 0.6219 MB / 0.595 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008386/0.7421, allocations: 323.3 kB / 0.5953 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.84e-05/0.7422, allocations: 12.56 kB / 0.5953 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.7423, allocations: 39.06 kB / 0.5954 GB, free: 14.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.807e-06/0.7423, allocations: 0 / 0.5954 GB, free: 14.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.004252/0.7465, allocations: 1.542 MB / 0.5969 GB, free: 12.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.7467, allocations: 85.67 kB / 0.597 GB, free: 12.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.7476, allocations: 488.5 kB / 0.5974 GB, free: 12.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.7478, allocations: 37.7 kB / 0.5975 GB, free: 12.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.7482, allocations: 477.1 kB / 0.5979 GB, free: 11.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.7486, allocations: 220.9 kB / 0.5981 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.7487, allocations: 20 kB / 0.5982 GB, free: 11.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.7488, allocations: 346.8 kB / 0.5985 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/0.7496, allocations: 281.8 kB / 0.5988 GB, free: 10.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.7507, allocations: 0.6037 MB / 0.5993 GB, free: 10.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7519, allocations: 395 kB / 0.5997 GB, free: 9.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.7519, allocations: 4 kB / 0.5997 GB, free: 9.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003652/0.7556, allocations: 1.134 MB / 0.6008 GB, free: 8.629 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.7557, allocations: 8.156 kB / 0.6008 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002396/0.7581, allocations: 0.7302 MB / 0.6016 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.7594, allocations: 222.3 kB / 0.6018 GB, free: 7.656 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.761, allocations: 199.7 kB / 0.602 GB, free: 7.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/0.7685, allocations: 4.918 MB / 0.6068 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.7695, allocations: 31.89 kB / 0.6068 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.7697, allocations: 44 kB / 0.6068 GB, free: 2.066 MB / 442.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.0003636/0.77, allocations: 193.6 kB / 0.607 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.7702, allocations: 63.25 kB / 0.6071 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.772, allocations: 0.6499 MB / 0.6077 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.7721, allocations: 11.94 kB / 0.6077 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7721, allocations: 0 / 0.6077 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.7721, allocations: 3.984 kB / 0.6077 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/0.7769, allocations: 1.613 MB / 0.6093 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.7769, allocations: 0 / 0.6093 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/0.7785, allocations: 167.8 kB / 0.6095 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-05/0.7785, allocations: 7.953 kB / 0.6095 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.538e-05/0.7786, allocations: 19.98 kB / 0.6095 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.7787, allocations: 4 kB / 0.6095 GB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7787, allocations: 12.2 kB / 0.6095 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.7811, allocations: 1.109 MB / 0.6106 GB, free: 14.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.7817, allocations: 188.3 kB / 0.6108 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.7818, allocations: 16 kB / 0.6108 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.7824, allocations: 15.98 kB / 0.6108 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.7826, allocations: 56.47 kB / 0.6108 GB, free: 13.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/0.7827, allocations: 19.95 kB / 0.6109 GB, free: 13.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006915/0.7834, allocations: 357.5 kB / 0.6112 GB, free: 13.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.7834, allocations: 3.938 kB / 0.6112 GB, free: 13.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00143/0.7848, allocations: 233.9 kB / 0.6114 GB, free: 13.15 MB / 458.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.003215/0.7881, allocations: 2.251 MB / 0.6136 GB, free: 10.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.791, allocations: 1.091 MB / 0.6147 GB, free: 9.691 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.7911, allocations: 4 kB / 0.6147 GB, free: 9.688 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008698/0.792, allocations: 319.3 kB / 0.615 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.7932, allocations: 140.4 kB / 0.6151 GB, free: 9.238 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.7988, allocations: 1.891 MB / 0.617 GB, free: 7.277 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.7999, allocations: 1.096 MB / 0.6181 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007631/0.8007, allocations: 311.3 kB / 0.6184 GB, free: 5.848 MB / 458.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8008, allocations: 4 kB / 0.6184 GB, free: 5.844 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.49/4.291, allocations: 17.65 MB / 0.6356 GB, free: 4.18 MB / 474.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)