Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 390.3 MB / 405.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 175.4 kB / 498.1 MB, free: 5.754 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.000853, allocations: 100.6 kB / 0.9346 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 10.84 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2979, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.5168, allocations: 183.1 MB / 1.402 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/0.5172, allocations: 99.94 kB / 1.402 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.155/1.672, allocations: 214.6 MB / 1.611 GB, free: 34.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.955e-06/1.672, allocations: 0 / 1.611 GB, free: 34.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005675/1.673, allocations: 144 kB / 1.612 GB, free: 34.52 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01739/1.69, allocations: 5.238 MB / 1.617 GB, free: 29.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.691, allocations: 12.03 kB / 1.617 GB, free: 29.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003758/1.694, allocations: 0.8293 MB / 1.618 GB, free: 28.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007725/1.702, allocations: 1.14 MB / 1.619 GB, free: 27.21 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/1.712, allocations: 3.704 MB / 1.622 GB, free: 23.45 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/1.713, allocations: 427.6 kB / 1.623 GB, free: 23.03 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/1.715, allocations: 0.5507 MB / 1.623 GB, free: 22.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/1.742, allocations: 8.815 MB / 1.632 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003521/1.743, allocations: 23.81 kB / 1.632 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002697/1.746, allocations: 256 kB / 1.632 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003612/1.746, allocations: 299 kB / 1.632 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/1.763, allocations: 6.437 MB / 1.639 GB, free: 6.211 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06251/1.825, allocations: 41.46 MB / 1.679 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/1.831, allocations: 3.1 MB / 1.682 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/1.831, allocations: 22 kB / 1.682 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/1.831, allocations: 60.56 kB / 1.682 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=209): time 7.434e-06/1.831, allocations: 0 / 1.682 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of matching and sorting (n=212): time 0.0258/1.857, allocations: 10.48 MB / 1.693 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/1.857, allocations: 77.41 kB / 1.693 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/1.86, allocations: 1.665 MB / 1.694 GB, free: 9.469 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000335/1.86, allocations: 65.7 kB / 1.694 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.862, allocations: 2.369 MB / 1.697 GB, free: 6.996 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008786/1.863, allocations: 0.7278 MB / 1.697 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/1.863, allocations: 52 kB / 1.697 GB, free: 6.207 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002528/1.864, allocations: 419.1 kB / 1.698 GB, free: 5.793 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/1.866, allocations: 1.321 MB / 1.699 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002639/1.868, allocations: 2.097 MB / 1.701 GB, free: 2.023 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/1.871, allocations: 1.688 MB / 1.703 GB, free: 340 kB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/1.871, allocations: 4 kB / 1.703 GB, free: 336 kB / 0.9792 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008577/1.88, allocations: 4.976 MB / 1.708 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/1.88, allocations: 16 kB / 1.708 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/1.88, allocations: 24 kB / 1.708 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/1.883, allocations: 1.542 MB / 1.709 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/1.885, allocations: 439.3 kB / 1.71 GB, free: 9.305 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/1.909, allocations: 17.67 MB / 1.727 GB, free: 7.102 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/1.912, allocations: 147.9 kB / 1.727 GB, free: 6.957 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005325/1.912, allocations: 112 kB / 1.727 GB, free: 6.848 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004872/1.917, allocations: 1.937 MB / 1.729 GB, free: 4.898 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.918, allocations: 296.6 kB / 1.729 GB, free: 4.605 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007931/1.926, allocations: 4.436 MB / 1.734 GB, free: 144 kB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/1.926, allocations: 24 kB / 1.734 GB, free: 120 kB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-05/1.926, allocations: 16 kB / 1.734 GB, free: 104 kB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/1.926, allocations: 7.969 kB / 1.734 GB, free: 96 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/1.947, allocations: 9.653 MB / 1.743 GB, free: 6.297 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.947, allocations: 4 kB / 1.743 GB, free: 6.293 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.949, allocations: 239.6 kB / 1.743 GB, free: 6.059 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003391/1.952, allocations: 1.401 MB / 1.745 GB, free: 4.648 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/1.952, allocations: 36 kB / 1.745 GB, free: 4.613 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02244/1.975, allocations: 17.69 MB / 1.762 GB, free: 2.371 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/1.975, allocations: 19.88 kB / 1.762 GB, free: 2.352 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007983/1.983, allocations: 4.872 MB / 1.767 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/1.985, allocations: 0.6342 MB / 1.767 GB, free: 12.63 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/1.985, allocations: 36 kB / 1.767 GB, free: 12.59 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.986, allocations: 115.8 kB / 1.767 GB, free: 12.48 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005733/1.987, allocations: 181.7 kB / 1.768 GB, free: 12.3 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.987, allocations: 60 kB / 1.768 GB, free: 12.24 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.002088/1.989, allocations: 1.26 MB / 1.769 GB, free: 10.97 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.9e-07/1.989, allocations: 0 / 1.769 GB, free: 10.97 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004028/1.993, allocations: 1.176 MB / 1.77 GB, free: 9.797 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007988/2.001, allocations: 6.593 MB / 1.777 GB, free: 3.039 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007509/2.009, allocations: 4.611 MB / 1.781 GB, free: 14.38 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/2.009, allocations: 4 kB / 1.781 GB, free: 14.38 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004615/2.014, allocations: 2.915 MB / 1.784 GB, free: 11.41 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/2.017, allocations: 0.7706 MB / 1.785 GB, free: 10.64 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05281/2.07, allocations: 42.96 MB / 1.827 GB, free: 13.86 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004816/2.075, allocations: 3.783 MB / 1.83 GB, free: 10.04 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.002389/2.078, allocations: 0.5396 MB / 1.831 GB, free: 9.492 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002561/2.08, allocations: 1.952 MB / 1.833 GB, free: 7.539 MB / 1.12 GB Notification: Performance of SimCode: time 1.242e-06/2.08, allocations: 0 / 1.833 GB, free: 7.539 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6541/2.734, allocations: 81.17 MB / 1.912 GB, free: 284 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/2.734, allocations: 222.4 kB / 1.912 GB, free: 283.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.02/6.755, allocations: 4 kB / 1.912 GB, free: 283.8 MB / 1.135 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat does not exist to compare? outputFormat=mat