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.001427/0.001427, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 90.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1825/0.1825, allocations: 37.98 MB / 348 MB, free: 7.781 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.867e-05, allocations: 4 kB / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 56.33 MB / 467 MB, free: 6.473 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5181, allocations: 99.17 MB / 0.5529 GB, free: 11.67 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5184, allocations: 79.95 kB / 0.553 GB, free: 11.59 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07227/0.5907, allocations: 26 MB / 0.5784 GB, free: 1.301 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5908, allocations: 0 / 0.5784 GB, free: 1.301 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.986e-05/0.5908, allocations: 16 kB / 0.5784 GB, free: 1.285 MB / 411.1 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.001727/0.5925, allocations: 1.018 MB / 0.5794 GB, free: 224 kB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.5926, allocations: 8.031 kB / 0.5794 GB, free: 216 kB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009016/0.5935, allocations: 166.7 kB / 0.5795 GB, free: 48 kB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003099/0.5966, allocations: 1.28 MB / 0.5808 GB, free: 14.72 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.446e-05/0.5967, allocations: 40 kB / 0.5808 GB, free: 14.68 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.5968, allocations: 51.91 kB / 0.5809 GB, free: 14.63 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001256/0.5981, allocations: 0.8238 MB / 0.5817 GB, free: 13.81 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5996, allocations: 1.016 MB / 0.5827 GB, free: 12.74 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.5996, allocations: 7.938 kB / 0.5827 GB, free: 12.73 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.5997, allocations: 0 / 0.5827 GB, free: 12.73 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/0.5998, allocations: 81.95 kB / 0.5828 GB, free: 12.65 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.6051, allocations: 4.083 MB / 0.5867 GB, free: 8.375 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009537/0.6061, allocations: 0.5859 MB / 0.5873 GB, free: 7.773 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.6065, allocations: 295.4 kB / 0.5876 GB, free: 7.48 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/0.6065, allocations: 8.562 kB / 0.5876 GB, free: 7.469 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.6066, allocations: 43.08 kB / 0.5876 GB, free: 7.418 MB / 427.1 MB Notification: Performance of pre-optimization done (n=63): time 2.275e-06/0.6066, allocations: 4 kB / 0.5877 GB, free: 7.414 MB / 427.1 MB Notification: Performance of matching and sorting (n=64): time 0.002267/0.6089, allocations: 1.44 MB / 0.5891 GB, free: 5.918 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.6089, allocations: 85.67 kB / 0.5891 GB, free: 5.816 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005231/0.6095, allocations: 457.8 kB / 0.5896 GB, free: 5.363 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.6095, allocations: 29.7 kB / 0.5896 GB, free: 5.328 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.6098, allocations: 443.3 kB / 0.59 GB, free: 4.887 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.61, allocations: 213 kB / 0.5902 GB, free: 4.676 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.61, allocations: 0 / 0.5902 GB, free: 4.676 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6102, allocations: 378.8 kB / 0.5906 GB, free: 4.297 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.6106, allocations: 266.5 kB / 0.5908 GB, free: 4.039 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.6112, allocations: 0.5941 MB / 0.5914 GB, free: 3.293 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.6117, allocations: 381.8 kB / 0.5918 GB, free: 2.918 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6117, allocations: 0 / 0.5918 GB, free: 2.918 MB / 427.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001873/0.6136, allocations: 1.087 MB / 0.5929 GB, free: 1.816 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.6136, allocations: 8 kB / 0.5929 GB, free: 1.809 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001112/0.6148, allocations: 0.6678 MB / 0.5935 GB, free: 1.129 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.6155, allocations: 218.4 kB / 0.5937 GB, free: 0.9062 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.6162, allocations: 211.7 kB / 0.5939 GB, free: 0.6992 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/0.6205, allocations: 4.713 MB / 0.5985 GB, free: 11.64 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.6211, allocations: 15.91 kB / 0.5985 GB, free: 11.62 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.6212, allocations: 47.98 kB / 0.5986 GB, free: 11.57 MB / 443.1 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.0002268/0.6215, allocations: 167.9 kB / 0.5987 GB, free: 11.4 MB / 443.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000836/0.6223, allocations: 0.5412 MB / 0.5993 GB, free: 10.85 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.492e-05/0.6224, allocations: 67.16 kB / 0.5993 GB, free: 10.79 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009642/0.6234, allocations: 0.5955 MB / 0.5999 GB, free: 10.18 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6234, allocations: 8.031 kB / 0.5999 GB, free: 10.17 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.6234, allocations: 4 kB / 0.5999 GB, free: 10.16 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6234, allocations: 3.984 kB / 0.5999 GB, free: 10.16 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/0.6259, allocations: 1.438 MB / 0.6013 GB, free: 8.66 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6259, allocations: 0 / 0.6013 GB, free: 8.66 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007353/0.6266, allocations: 163.8 kB / 0.6015 GB, free: 8.5 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/0.6267, allocations: 8.219 kB / 0.6015 GB, free: 8.492 MB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.6267, allocations: 8 kB / 0.6015 GB, free: 8.484 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/0.6267, allocations: 7.984 kB / 0.6015 GB, free: 8.477 MB / 443.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6267, allocations: 0 / 0.6015 GB, free: 8.477 MB / 443.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.6282, allocations: 1.066 MB / 0.6026 GB, free: 7.324 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.6285, allocations: 176.3 kB / 0.6027 GB, free: 7.133 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.6286, allocations: 15.94 kB / 0.6027 GB, free: 7.117 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002943/0.6289, allocations: 4 kB / 0.6027 GB, free: 7.113 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.629, allocations: 48.48 kB / 0.6028 GB, free: 7.066 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.834e-05/0.629, allocations: 23.88 kB / 0.6028 GB, free: 7.043 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0003965/0.6294, allocations: 326.9 kB / 0.6031 GB, free: 6.727 MB / 443.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6295, allocations: 0 / 0.6031 GB, free: 6.727 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.00107/0.6305, allocations: 209.8 kB / 0.6033 GB, free: 6.523 MB / 443.1 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.001892/0.6324, allocations: 2.186 MB / 0.6055 GB, free: 4.254 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.6342, allocations: 1.031 MB / 0.6065 GB, free: 3.195 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6342, allocations: 5.062 kB / 0.6065 GB, free: 3.191 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.6346, allocations: 302.3 kB / 0.6068 GB, free: 2.895 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.6354, allocations: 138 kB / 0.6069 GB, free: 2.754 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.6388, allocations: 1.749 MB / 0.6086 GB, free: 0.9414 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.6395, allocations: 1.092 MB / 0.6097 GB, free: 15.82 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.0006879/0.6402, allocations: 233.5 kB / 0.6099 GB, free: 15.59 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.6406, allocations: 311.3 kB / 0.6102 GB, free: 15.29 MB / 459.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6406, allocations: 4 kB / 0.6102 GB, free: 15.29 MB / 459.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05775/0.6984, allocations: 14.09 MB / 0.624 GB, free: 1.195 MB / 459.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004254/0.6989, allocations: 138.2 kB / 0.6241 GB, free: 1 MB / 459.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.048, allocations: 0 / 0.6241 GB, free: 1 MB / 459.1 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