Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_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.001044/0.001044, allocations: 175 kB / 13.63 MB, free: 1.684 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.628/1.628, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009596/0.00096, allocations: 86.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1569/0.1569, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.848e-05, allocations: 4 kB / 417.8 MB, free: 29.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 56.32 MB / 474.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5858, allocations: 99.84 MB / 0.5605 GB, free: 2.465 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.586, allocations: 80.27 kB / 0.5606 GB, free: 2.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07567/0.6617, allocations: 26.19 MB / 0.5862 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6617, allocations: 0 / 0.5862 GB, free: 11.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.6618, allocations: 16 kB / 0.5862 GB, free: 11.9 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.001922/0.6637, allocations: 1.023 MB / 0.5872 GB, free: 10.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6638, allocations: 8.031 kB / 0.5872 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.664, allocations: 143.3 kB / 0.5873 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/0.6649, allocations: 166.6 kB / 0.5875 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.6685, allocations: 1.284 MB / 0.5888 GB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.99e-05/0.6686, allocations: 67.98 kB / 0.5888 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.6688, allocations: 87.39 kB / 0.5889 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.6711, allocations: 1.13 MB / 0.59 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/0.6712, allocations: 7.938 kB / 0.59 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6713, allocations: 35.06 kB / 0.59 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.6715, allocations: 77.84 kB / 0.5901 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.6736, allocations: 0.9771 MB / 0.5911 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.6809, allocations: 4.369 MB / 0.5953 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.6825, allocations: 0.6266 MB / 0.596 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.6831, allocations: 318.6 kB / 0.5963 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.6832, allocations: 8.562 kB / 0.5963 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.6833, allocations: 41.94 kB / 0.5963 GB, free: 3.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.807e-06/0.6833, allocations: 4 kB / 0.5963 GB, free: 3 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.003606/0.6869, allocations: 1.531 MB / 0.5978 GB, free: 1.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/0.687, allocations: 85.67 kB / 0.5979 GB, free: 1.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/0.6878, allocations: 490.2 kB / 0.5984 GB, free: 1.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.737e-05/0.6879, allocations: 43.38 kB / 0.5984 GB, free: 1.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.6883, allocations: 440.4 kB / 0.5988 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.6886, allocations: 214.9 kB / 0.599 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.6886, allocations: 16.5 kB / 0.599 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6888, allocations: 387.8 kB / 0.5994 GB, free: 280 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.6892, allocations: 282.9 kB / 0.5997 GB, free: 80 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.6899, allocations: 0.6 MB / 0.6003 GB, free: 15.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000555/0.6905, allocations: 392.5 kB / 0.6006 GB, free: 15.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.6905, allocations: 4 kB / 0.6006 GB, free: 15.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001997/0.6925, allocations: 1.166 MB / 0.6018 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.6926, allocations: 12 kB / 0.6018 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001231/0.6938, allocations: 0.7132 MB / 0.6025 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007232/0.6945, allocations: 223.9 kB / 0.6027 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.6953, allocations: 204.7 kB / 0.6029 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.7001, allocations: 4.908 MB / 0.6077 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.7007, allocations: 34.91 kB / 0.6077 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/0.7008, allocations: 53.73 kB / 0.6078 GB, free: 8.305 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 () * 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.0002519/0.7011, allocations: 193.5 kB / 0.608 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.7012, allocations: 63.25 kB / 0.608 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.7023, allocations: 0.6547 MB / 0.6087 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7023, allocations: 4 kB / 0.6087 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.7023, allocations: 0 / 0.6087 GB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.7023, allocations: 7.984 kB / 0.6087 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/0.705, allocations: 1.604 MB / 0.6102 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.705, allocations: 4 kB / 0.6102 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.7057, allocations: 163.4 kB / 0.6104 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.7057, allocations: 11.95 kB / 0.6104 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.7058, allocations: 15 kB / 0.6104 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.7058, allocations: 8.219 kB / 0.6104 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.7058, allocations: 4 kB / 0.6104 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.7072, allocations: 1.113 MB / 0.6115 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.7075, allocations: 177.3 kB / 0.6117 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/0.7076, allocations: 21.42 kB / 0.6117 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.7079, allocations: 16.19 kB / 0.6117 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.708, allocations: 54.42 kB / 0.6118 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.7081, allocations: 28.33 kB / 0.6118 GB, free: 4.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004589/0.7085, allocations: 349.3 kB / 0.6121 GB, free: 4.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7085, allocations: 0 / 0.6121 GB, free: 4.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009925/0.7095, allocations: 234.6 kB / 0.6124 GB, free: 4.367 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.002241/0.7118, allocations: 2.256 MB / 0.6146 GB, free: 2.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.7136, allocations: 1.099 MB / 0.6156 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7136, allocations: 0 / 0.6156 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.714, allocations: 315 kB / 0.6159 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.7148, allocations: 139.3 kB / 0.6161 GB, free: 464 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.7179, allocations: 1.823 MB / 0.6178 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.7186, allocations: 1.08 MB / 0.6189 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005994/0.7192, allocations: 221.6 kB / 0.6191 GB, free: 13.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.7196, allocations: 303.3 kB / 0.6194 GB, free: 12.94 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7196, allocations: 0 / 0.6194 GB, free: 12.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.7537, allocations: 14.82 MB / 0.6339 GB, free: 14.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.7539, allocations: 169.4 kB / 0.634 GB, free: 13.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.294, allocations: 0 / 0.634 GB, free: 13.92 MB / 442.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat does not exist to compare? outputFormat=mat