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.000981/0.000981, allocations: 180.1 kB / 16.38 MB, free: 5.766 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.19/1.19, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008383/0.0008379, allocations: 87.11 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1885/0.1885, allocations: 38.07 MB / 357.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002697, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 56.32 MB / 480.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.3675, allocations: 99.93 MB / 0.5667 GB, free: 2.461 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.3678, allocations: 87.95 kB / 0.5668 GB, free: 2.375 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07096/0.4388, allocations: 26.19 MB / 0.5924 GB, free: 7.875 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4388, allocations: 0 / 0.5924 GB, free: 7.875 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.31e-05/0.4389, allocations: 16 kB / 0.5924 GB, free: 7.859 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.002768/0.4416, allocations: 1.111 MB / 0.5935 GB, free: 6.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4417, allocations: 8.031 kB / 0.5935 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003815/0.4421, allocations: 147.7 kB / 0.5936 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.4432, allocations: 158.7 kB / 0.5938 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.4471, allocations: 1.31 MB / 0.5951 GB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.105e-05/0.4472, allocations: 69.92 kB / 0.5951 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003071/0.4475, allocations: 83.89 kB / 0.5952 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.4496, allocations: 1.145 MB / 0.5963 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.4497, allocations: 4 kB / 0.5963 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.4498, allocations: 35.98 kB / 0.5964 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.4499, allocations: 89.89 kB / 0.5965 GB, free: 3.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4517, allocations: 0.9991 MB / 0.5974 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/0.4573, allocations: 4.365 MB / 0.6017 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4584, allocations: 0.6374 MB / 0.6023 GB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.4584, allocations: 12.62 kB / 0.6023 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.4585, allocations: 39.11 kB / 0.6024 GB, free: 13.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 2.555e-06/0.4585, allocations: 0 / 0.6024 GB, free: 13.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.002968/0.4615, allocations: 1.773 MB / 0.6041 GB, free: 11.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.4615, allocations: 89.8 kB / 0.6042 GB, free: 11.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.4621, allocations: 489.8 kB / 0.6047 GB, free: 10.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.4621, allocations: 33.7 kB / 0.6047 GB, free: 10.78 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.4624, allocations: 442.6 kB / 0.6051 GB, free: 10.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.4626, allocations: 220.9 kB / 0.6053 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.4626, allocations: 20 kB / 0.6053 GB, free: 10.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4628, allocations: 374.8 kB / 0.6057 GB, free: 9.723 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.4632, allocations: 293.8 kB / 0.606 GB, free: 9.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/0.4639, allocations: 0.6075 MB / 0.6066 GB, free: 8.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.4645, allocations: 401.8 kB / 0.607 GB, free: 8.285 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4645, allocations: 4 kB / 0.607 GB, free: 8.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002094/0.4666, allocations: 1.184 MB / 0.6081 GB, free: 7.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4667, allocations: 8 kB / 0.6081 GB, free: 7.074 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001282/0.4679, allocations: 0.7339 MB / 0.6088 GB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/0.4687, allocations: 218.9 kB / 0.6091 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.4694, allocations: 207.6 kB / 0.6093 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004461/0.4738, allocations: 4.981 MB / 0.6141 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.4743, allocations: 43.97 kB / 0.6142 GB, free: 484 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.4744, allocations: 48.06 kB / 0.6142 GB, free: 436 kB / 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 () * 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.0004845/0.4749, allocations: 345.6 kB / 0.6145 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.475, allocations: 63.25 kB / 0.6146 GB, free: 20 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.4761, allocations: 0.6733 MB / 0.6152 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4761, allocations: 11.98 kB / 0.6153 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4761, allocations: 7.938 kB / 0.6153 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4762, allocations: 0 / 0.6153 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.4788, allocations: 1.613 MB / 0.6168 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4788, allocations: 4 kB / 0.6168 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.4796, allocations: 168 kB / 0.617 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.4796, allocations: 4 kB / 0.617 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.4797, allocations: 23.94 kB / 0.617 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.4797, allocations: 7.984 kB / 0.617 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4797, allocations: 0 / 0.617 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.481, allocations: 1.135 MB / 0.6182 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.4814, allocations: 180.3 kB / 0.6183 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.4814, allocations: 19.98 kB / 0.6183 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.4818, allocations: 16 kB / 0.6184 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.4819, allocations: 52.42 kB / 0.6184 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.4819, allocations: 20 kB / 0.6184 GB, free: 11.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005259/0.4824, allocations: 358.8 kB / 0.6188 GB, free: 11.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4825, allocations: 0 / 0.6188 GB, free: 11.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009518/0.4834, allocations: 237.9 kB / 0.619 GB, free: 11.31 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 () * 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.00187/0.4853, allocations: 2.273 MB / 0.6212 GB, free: 8.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.4869, allocations: 1.118 MB / 0.6223 GB, free: 7.801 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4869, allocations: 0 / 0.6223 GB, free: 7.801 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.4874, allocations: 319 kB / 0.6226 GB, free: 7.492 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.488, allocations: 145.9 kB / 0.6228 GB, free: 7.355 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.4982, allocations: 12.52 MB / 0.635 GB, free: 10.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.499, allocations: 1.092 MB / 0.636 GB, free: 9.402 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006535/0.4997, allocations: 225.6 kB / 0.6363 GB, free: 9.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.5001, allocations: 307.3 kB / 0.6365 GB, free: 8.879 MB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5001, allocations: 0 / 0.6365 GB, free: 8.879 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1958/0.6959, allocations: 14.81 MB / 0.651 GB, free: 139.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.6961, allocations: 202.9 kB / 0.6512 GB, free: 138.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.007, allocations: 0 / 0.6512 GB, free: 138.9 MB / 474.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