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.002301/0.002301, allocations: 181.8 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.958/1.958, allocations: 205.4 MB / 221.9 MB, free: 13.7 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.001116/0.001116, allocations: 98.86 kB / 270.2 MB, free: 13.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.262/0.262, allocations: 38.05 MB / 356.5 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.000505, allocations: 8 kB / 422.8 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1136, allocations: 56.33 MB / 479.1 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4949/0.6086, allocations: 99.93 MB / 0.5655 GB, free: 15.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.609, allocations: 88.39 kB / 0.5656 GB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1237/0.7327, allocations: 26.2 MB / 0.5911 GB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7328, allocations: 0 / 0.5911 GB, free: 9.258 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.552e-05/0.7329, allocations: 19.94 kB / 0.5912 GB, free: 9.238 MB / 394.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.003583/0.7364, allocations: 1.1 MB / 0.5922 GB, free: 8.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.7365, allocations: 12.02 kB / 0.5923 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005006/0.737, allocations: 144.2 kB / 0.5924 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.7388, allocations: 162.6 kB / 0.5925 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005697/0.7445, allocations: 1.309 MB / 0.5938 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.7447, allocations: 62.25 kB / 0.5939 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/0.7449, allocations: 87.27 kB / 0.594 GB, free: 6.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.7479, allocations: 1.15 MB / 0.5951 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.748, allocations: 4 kB / 0.5951 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.7482, allocations: 33.98 kB / 0.5951 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.7483, allocations: 80.7 kB / 0.5952 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.7512, allocations: 0.9998 MB / 0.5962 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009109/0.7604, allocations: 4.368 MB / 0.6004 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.7625, allocations: 0.6443 MB / 0.6011 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.7626, allocations: 4.625 kB / 0.6011 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.7626, allocations: 42.81 kB / 0.6011 GB, free: 424 kB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 4.218e-06/0.7627, allocations: 4 kB / 0.6011 GB, free: 420 kB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.004939/0.7676, allocations: 1.776 MB / 0.6029 GB, free: 14.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.7677, allocations: 85.67 kB / 0.6029 GB, free: 14.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.7686, allocations: 484.9 kB / 0.6034 GB, free: 14.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.7687, allocations: 36.27 kB / 0.6034 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.7691, allocations: 491.2 kB / 0.6039 GB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.7694, allocations: 214.2 kB / 0.6041 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.385e-05/0.7695, allocations: 20.44 kB / 0.6041 GB, free: 13.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7696, allocations: 349.4 kB / 0.6045 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008081/0.7705, allocations: 290.6 kB / 0.6047 GB, free: 13.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.7716, allocations: 0.6068 MB / 0.6053 GB, free: 12.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.7726, allocations: 407.3 kB / 0.6057 GB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.7726, allocations: 4 kB / 0.6057 GB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003467/0.7761, allocations: 1.154 MB / 0.6069 GB, free: 11.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.7762, allocations: 12 kB / 0.6069 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002273/0.7785, allocations: 0.7233 MB / 0.6076 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.7797, allocations: 225 kB / 0.6078 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.7812, allocations: 207.5 kB / 0.608 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/0.7884, allocations: 4.984 MB / 0.6128 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7895, allocations: 36.34 kB / 0.6129 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.7896, allocations: 42.69 kB / 0.6129 GB, free: 5.562 MB / 410.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 () * 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 (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.0008029/0.7904, allocations: 366.7 kB / 0.6133 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.7906, allocations: 59.25 kB / 0.6133 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001847/0.7925, allocations: 0.6683 MB / 0.614 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.544e-05/0.7925, allocations: 11.94 kB / 0.614 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7925, allocations: 0 / 0.614 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.7925, allocations: 3.984 kB / 0.614 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.7971, allocations: 1.618 MB / 0.6156 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7971, allocations: 0 / 0.6156 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/0.7986, allocations: 163.8 kB / 0.6157 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.7987, allocations: 7.953 kB / 0.6157 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.097e-05/0.7987, allocations: 19.98 kB / 0.6158 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.7988, allocations: 4.219 kB / 0.6158 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7988, allocations: 8 kB / 0.6158 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.8014, allocations: 1.135 MB / 0.6169 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.8019, allocations: 176.3 kB / 0.617 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.802, allocations: 23.98 kB / 0.6171 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.8026, allocations: 12 kB / 0.6171 GB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.8028, allocations: 48.44 kB / 0.6171 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.8028, allocations: 23.94 kB / 0.6172 GB, free: 1.656 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00069/0.8035, allocations: 354.8 kB / 0.6175 GB, free: 1.312 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8036, allocations: 0 / 0.6175 GB, free: 1.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001294/0.8049, allocations: 241.9 kB / 0.6177 GB, free: 1.078 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 () * 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 (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.00332/0.8082, allocations: 2.277 MB / 0.6199 GB, free: 14.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002928/0.8112, allocations: 1.111 MB / 0.621 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.8112, allocations: 384 / 0.621 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008935/0.8121, allocations: 323 kB / 0.6213 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.8133, allocations: 143.1 kB / 0.6215 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.8292, allocations: 12.6 MB / 0.6338 GB, free: 200 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.8303, allocations: 1.088 MB / 0.6348 GB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/0.831, allocations: 315.3 kB / 0.6351 GB, free: 14.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8311, allocations: 0 / 0.6351 GB, free: 14.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.118/3.949, allocations: 17.55 MB / 0.6523 GB, free: 13.2 MB / 458.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)