Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 289.9 MB / 297.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 176.8 kB / 366.7 MB, free: 1.676 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008284/0.0008283, allocations: 86.31 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.335e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.6676, allocations: 116.3 MB / 0.9734 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/0.9187, allocations: 195.3 MB / 1.164 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.9191, allocations: 92.53 kB / 1.164 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9794/1.899, allocations: 145.1 MB / 1.306 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.484e-06/1.899, allocations: 0.9688 kB / 1.306 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005709/1.899, allocations: 99.19 kB / 1.306 GB, free: 199.3 MB / 0.8542 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.01516/1.914, allocations: 3.223 MB / 1.309 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/1.914, allocations: 9.594 kB / 1.309 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/1.922, allocations: 0.8247 MB / 1.31 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009828/1.932, allocations: 2.559 MB / 1.312 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004365/1.932, allocations: 116.6 kB / 1.312 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003077/1.935, allocations: 225.5 kB / 1.313 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01254/1.948, allocations: 3.586 MB / 1.316 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/1.965, allocations: 5.109 MB / 1.321 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/1.965, allocations: 19.47 kB / 1.321 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/1.967, allocations: 15.8 kB / 1.321 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003063/1.967, allocations: 212.8 kB / 1.321 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/2, allocations: 26.89 MB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/2.002, allocations: 1.052 MB / 1.349 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/2.003, allocations: 0.9449 MB / 1.35 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.67e-05/2.003, allocations: 18.14 kB / 1.35 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/2.003, allocations: 43.31 kB / 1.35 GB, free: 171 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.619e-06/2.003, allocations: 3.781 kB / 1.35 GB, free: 171 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01334/2.016, allocations: 6.782 MB / 1.356 GB, free: 168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/2.016, allocations: 66.53 kB / 1.356 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/2.019, allocations: 1.076 MB / 1.357 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/2.019, allocations: 25.7 kB / 1.357 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/2.02, allocations: 1.67 MB / 1.359 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004204/2.02, allocations: 452.5 kB / 1.36 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/2.02, allocations: 0 / 1.36 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001427/2.02, allocations: 380.5 kB / 1.36 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/2.022, allocations: 0.821 MB / 1.361 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/2.023, allocations: 1.397 MB / 1.362 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/2.025, allocations: 1.079 MB / 1.363 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.759e-05/2.025, allocations: 6.219 kB / 1.363 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005284/2.03, allocations: 2.962 MB / 1.366 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/2.03, allocations: 22.73 kB / 1.366 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.391e-05/2.03, allocations: 24.78 kB / 1.366 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/2.032, allocations: 0.6999 MB / 1.367 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/2.034, allocations: 397.8 kB / 1.367 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/2.046, allocations: 14.94 MB / 1.382 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/2.048, allocations: 66.89 kB / 1.382 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/2.049, allocations: 82.16 kB / 1.382 GB, free: 149.4 MB / 0.8542 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 () * 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.0003863/2.049, allocations: 159.5 kB / 1.382 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005587/2.054, allocations: 2.444 MB / 1.384 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/2.055, allocations: 188.3 kB / 1.385 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/2.06, allocations: 2.589 MB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/2.06, allocations: 14.53 kB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/2.06, allocations: 7.312 kB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/2.06, allocations: 7.547 kB / 1.387 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/2.074, allocations: 5.363 MB / 1.392 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/2.074, allocations: 10.59 kB / 1.392 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/2.075, allocations: 247.6 kB / 1.393 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/2.077, allocations: 0.6317 MB / 1.393 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/2.077, allocations: 11.47 kB / 1.393 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/2.088, allocations: 14.68 MB / 1.408 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/2.088, allocations: 11.89 kB / 1.408 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/2.094, allocations: 4.097 MB / 1.412 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/2.095, allocations: 437.6 kB / 1.412 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000801/2.096, allocations: 8 kB / 1.412 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/2.097, allocations: 59.89 kB / 1.412 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/2.098, allocations: 117 kB / 1.412 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-05/2.098, allocations: 36 kB / 1.412 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001686/2.1, allocations: 0.7957 MB / 1.413 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.82e-07/2.1, allocations: 0 / 1.413 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004022/2.104, allocations: 0.6367 MB / 1.414 GB, free: 124.9 MB / 0.8542 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 () * 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.006301/2.11, allocations: 6.047 MB / 1.42 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004826/2.115, allocations: 3.23 MB / 1.423 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.115, allocations: 0 / 1.423 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002896/2.118, allocations: 2.127 MB / 1.425 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/2.122, allocations: 0.5348 MB / 1.425 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0171/2.139, allocations: 6.075 MB / 1.431 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004105/2.143, allocations: 2.73 MB / 1.434 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002066/2.145, allocations: 461.4 kB / 1.434 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001746/2.147, allocations: 1.273 MB / 1.436 GB, free: 102 MB / 0.8542 GB Notification: Performance of SimCode: time 1.603e-06/2.147, allocations: 0 / 1.436 GB, free: 102 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09398/2.241, allocations: 50.72 MB / 1.485 GB, free: 51.91 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/2.241, allocations: 167.1 kB / 1.485 GB, free: 51.71 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.36/5.601, allocations: 0 / 1.485 GB, free: 51.71 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)