Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.665/2.665, allocations: 287.3 MB / 302.3 MB, free: 8.387 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.002195/0.002195, allocations: 182.8 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 101.4 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.0005097, allocations: 17.14 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9791/1.199, allocations: 194.9 MB / 1.169 GB, free: 5.402 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/1.2, allocations: 97.88 kB / 1.169 GB, free: 5.344 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5991/1.799, allocations: 146.4 MB / 1.312 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.617e-06/1.799, allocations: 0 / 1.312 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004378/1.799, allocations: 103.9 kB / 1.312 GB, free: 13.09 MB / 0.8386 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.01623/1.816, allocations: 3.506 MB / 1.315 GB, free: 9.52 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.816, allocations: 8.031 kB / 1.315 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003045/1.819, allocations: 0.542 MB / 1.316 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009004/1.828, allocations: 0.8303 MB / 1.317 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009997/1.838, allocations: 2.565 MB / 1.319 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000448/1.838, allocations: 271.2 kB / 1.319 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/1.841, allocations: 379.9 kB / 1.32 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/1.861, allocations: 5.706 MB / 1.325 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/1.862, allocations: 23.73 kB / 1.325 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001812/1.864, allocations: 164 kB / 1.325 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004502/1.864, allocations: 219 kB / 1.326 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01456/1.879, allocations: 4.126 MB / 1.33 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05188/1.931, allocations: 27.66 MB / 1.357 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/1.934, allocations: 1.096 MB / 1.358 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/1.934, allocations: 13 kB / 1.358 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.934, allocations: 43.56 kB / 1.358 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=110): time 4.238e-06/1.934, allocations: 4 kB / 1.358 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=131): time 0.04115/1.975, allocations: 9.544 MB / 1.367 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/1.976, allocations: 64.72 kB / 1.367 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/1.979, allocations: 1.274 MB / 1.368 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003322/1.979, allocations: 45.7 kB / 1.368 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/1.981, allocations: 1.671 MB / 1.37 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008725/1.982, allocations: 469.3 kB / 1.371 GB, free: 13.64 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/1.982, allocations: 36 kB / 1.371 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002457/1.982, allocations: 381.9 kB / 1.371 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/1.984, allocations: 0.8667 MB / 1.372 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00312/1.988, allocations: 1.468 MB / 1.373 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/1.991, allocations: 1.115 MB / 1.374 GB, free: 9.508 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/1.991, allocations: 8 kB / 1.374 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01021/2.001, allocations: 3.223 MB / 1.377 GB, free: 6.238 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/2.001, allocations: 12 kB / 1.377 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/2.001, allocations: 20 kB / 1.377 GB, free: 6.207 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003922/2.005, allocations: 0.7182 MB / 1.378 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/2.008, allocations: 399.3 kB / 1.379 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02544/2.034, allocations: 15.86 MB / 1.394 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/2.037, allocations: 103.9 kB / 1.394 GB, free: 3.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/2.037, allocations: 76.28 kB / 1.394 GB, free: 3.84 MB / 0.9167 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.004071/2.041, allocations: 1.317 MB / 1.396 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008637/2.042, allocations: 209.5 kB / 1.396 GB, free: 2.305 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009178/2.051, allocations: 2.734 MB / 1.398 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/2.051, allocations: 12 kB / 1.398 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/2.051, allocations: 8 kB / 1.398 GB, free: 15.51 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.628e-05/2.051, allocations: 7.969 kB / 1.398 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/2.071, allocations: 6.084 MB / 1.404 GB, free: 9.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/2.071, allocations: 4 kB / 1.404 GB, free: 9.246 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/2.074, allocations: 243.6 kB / 1.405 GB, free: 9.008 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/2.077, allocations: 0.6398 MB / 1.405 GB, free: 8.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/2.078, allocations: 35.92 kB / 1.405 GB, free: 8.305 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/2.102, allocations: 15.59 MB / 1.42 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/2.102, allocations: 8 kB / 1.42 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/2.114, allocations: 4.265 MB / 1.425 GB, free: 3.016 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/2.116, allocations: 450.5 kB / 1.425 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/2.116, allocations: 39.98 kB / 1.425 GB, free: 2.516 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001888/2.118, allocations: 83.89 kB / 1.425 GB, free: 2.434 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/2.119, allocations: 108.8 kB / 1.425 GB, free: 2.328 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/2.119, allocations: 36 kB / 1.425 GB, free: 2.293 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002347/2.121, allocations: 0.9747 MB / 1.426 GB, free: 1.328 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.02e-07/2.121, allocations: 3.938 kB / 1.426 GB, free: 1.324 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004387/2.126, allocations: 0.7031 MB / 1.427 GB, free: 0.6211 MB / 0.948 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.7249/2.851, allocations: 6.208 MB / 1.433 GB, free: 251.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009203/2.86, allocations: 3.43 MB / 1.436 GB, free: 250.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.86, allocations: 3.281 kB / 1.436 GB, free: 250.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005482/2.865, allocations: 2.255 MB / 1.439 GB, free: 249.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/2.87, allocations: 0.5831 MB / 1.439 GB, free: 249.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05126/2.922, allocations: 30.54 MB / 1.469 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006683/2.928, allocations: 2.734 MB / 1.472 GB, free: 229.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003209/2.932, allocations: 475 kB / 1.472 GB, free: 229.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00311/2.935, allocations: 1.279 MB / 1.473 GB, free: 229.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.635e-06/2.935, allocations: 0 / 1.473 GB, free: 229.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/3.075, allocations: 53.77 MB / 1.526 GB, free: 227.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002976/3.075, allocations: 228.9 kB / 1.526 GB, free: 227.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.09/7.165, allocations: 0 / 1.526 GB, free: 227.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)