Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001122/0.001122, allocations: 168 kB / 0.4901 GB, free: 2.25 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.56/1.56, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009309/0.0009308, allocations: 108.2 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005573, allocations: 11 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.357, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9943/1.351, allocations: 207.4 MB / 1.432 GB, free: 194.6 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003465/1.352, allocations: 101.6 kB / 1.432 GB, free: 194.6 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3451/1.697, allocations: 156.2 MB / 1.584 GB, free: 59.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.599e-06/1.697, allocations: 0 / 1.584 GB, free: 59.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002791/1.697, allocations: 103.9 kB / 1.585 GB, free: 59.34 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01361/1.711, allocations: 3.498 MB / 1.588 GB, free: 55.78 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.711, allocations: 8.031 kB / 1.588 GB, free: 55.77 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002029/1.713, allocations: 0.5458 MB / 1.588 GB, free: 55.21 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005996/1.719, allocations: 0.8264 MB / 1.589 GB, free: 54.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008133/1.727, allocations: 2.561 MB / 1.592 GB, free: 51.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/1.727, allocations: 275.3 kB / 1.592 GB, free: 51.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/1.729, allocations: 383.8 kB / 1.592 GB, free: 51.12 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01546/1.745, allocations: 5.707 MB / 1.598 GB, free: 45.08 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002814/1.745, allocations: 23.77 kB / 1.598 GB, free: 45.05 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001815/1.747, allocations: 164 kB / 1.598 GB, free: 44.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003048/1.747, allocations: 215 kB / 1.598 GB, free: 44.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/1.758, allocations: 4.122 MB / 1.602 GB, free: 40.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03397/1.792, allocations: 27.67 MB / 1.629 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/1.793, allocations: 1.089 MB / 1.631 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/1.794, allocations: 13 kB / 1.631 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/1.794, allocations: 43.56 kB / 1.631 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=110): time 3.507e-06/1.794, allocations: 0 / 1.631 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131): time 0.02098/1.815, allocations: 9.553 MB / 1.64 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.815, allocations: 64.72 kB / 1.64 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002682/1.817, allocations: 1.274 MB / 1.641 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.818, allocations: 45.7 kB / 1.641 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001305/1.819, allocations: 1.674 MB / 1.643 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005082/1.819, allocations: 465.4 kB / 1.643 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.819, allocations: 36 kB / 1.643 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002045/1.82, allocations: 377.9 kB / 1.644 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/1.821, allocations: 0.8745 MB / 1.645 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/1.823, allocations: 1.464 MB / 1.646 GB, free: 8.883 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.825, allocations: 1.119 MB / 1.647 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/1.825, allocations: 4 kB / 1.647 GB, free: 7.762 MB / 0.9323 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006176/1.831, allocations: 3.227 MB / 1.65 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/1.831, allocations: 12 kB / 1.65 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/1.831, allocations: 20 kB / 1.65 GB, free: 4.465 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/1.833, allocations: 0.726 MB / 1.651 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.835, allocations: 395.4 kB / 1.651 GB, free: 3.324 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/1.851, allocations: 15.86 MB / 1.667 GB, free: 2.266 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/1.853, allocations: 103.9 kB / 1.667 GB, free: 2.164 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/1.853, allocations: 79.94 kB / 1.667 GB, free: 2.086 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003319/1.857, allocations: 1.313 MB / 1.668 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000632/1.857, allocations: 209.5 kB / 1.669 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/1.863, allocations: 2.738 MB / 1.671 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.863, allocations: 12 kB / 1.671 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-05/1.863, allocations: 8 kB / 1.671 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/1.863, allocations: 3.984 kB / 1.671 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.876, allocations: 6.088 MB / 1.677 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.876, allocations: 4 kB / 1.677 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.877, allocations: 239.7 kB / 1.677 GB, free: 7.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/1.879, allocations: 0.6479 MB / 1.678 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/1.879, allocations: 32 kB / 1.678 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.894, allocations: 15.59 MB / 1.693 GB, free: 5.754 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/1.894, allocations: 8 kB / 1.693 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007084/1.901, allocations: 4.264 MB / 1.697 GB, free: 1.258 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.902, allocations: 446.6 kB / 1.698 GB, free: 0.8008 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005852/1.903, allocations: 35.98 kB / 1.698 GB, free: 0.7656 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.904, allocations: 79.89 kB / 1.698 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/1.905, allocations: 116.8 kB / 1.698 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/1.905, allocations: 36 kB / 1.698 GB, free: 0.5391 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002054/1.907, allocations: 0.9785 MB / 1.699 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.91e-07/1.907, allocations: 0 / 1.699 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003305/1.91, allocations: 0.7031 MB / 1.7 GB, free: 14.87 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007283/1.917, allocations: 6.221 MB / 1.706 GB, free: 8.449 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005489/1.923, allocations: 3.432 MB / 1.709 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.923, allocations: 1.438 kB / 1.709 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00324/1.926, allocations: 2.256 MB / 1.711 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003121/1.929, allocations: 0.5821 MB / 1.712 GB, free: 1.945 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04131/1.971, allocations: 30.55 MB / 1.742 GB, free: 2.16 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004995/1.976, allocations: 2.73 MB / 1.744 GB, free: 15.4 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.002048/1.978, allocations: 477 kB / 1.745 GB, free: 14.93 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/1.98, allocations: 1.276 MB / 1.746 GB, free: 13.65 MB / 1.042 GB Notification: Performance of SimCode: time 1.492e-06/1.98, allocations: 4 kB / 1.746 GB, free: 13.65 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09545/2.075, allocations: 53.77 MB / 1.799 GB, free: 8.551 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/2.076, allocations: 223.4 kB / 1.799 GB, free: 8.312 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/5.497, allocations: 0 / 1.799 GB, free: 8.312 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat does not exist to compare? outputFormat=mat