Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 285.4 MB / 298 MB, free: 5.969 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.001146/0.001146, allocations: 176.8 kB / 366.4 MB, free: 2.078 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.648/1.648, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008314/0.0008314, allocations: 99.22 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.996e-05/5.014e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7756, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/1.048, allocations: 194.9 MB / 1.161 GB, free: 4.746 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.049, allocations: 96.78 kB / 1.161 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9809/2.03, allocations: 145.7 MB / 1.304 GB, free: 200 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.853e-06/2.03, allocations: 0 / 1.304 GB, free: 200 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005996/2.03, allocations: 97.72 kB / 1.304 GB, free: 200 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.01475/2.045, allocations: 3.218 MB / 1.307 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/2.045, allocations: 9.969 kB / 1.307 GB, free: 198.6 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003121/2.048, allocations: 0.5299 MB / 1.308 GB, free: 198.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00736/2.056, allocations: 0.8307 MB / 1.308 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00915/2.065, allocations: 2.547 MB / 1.311 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/2.065, allocations: 277.2 kB / 1.311 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/2.068, allocations: 379.2 kB / 1.311 GB, free: 197.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/2.086, allocations: 5.643 MB / 1.317 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/2.086, allocations: 19.41 kB / 1.317 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/2.088, allocations: 171 kB / 1.317 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/2.088, allocations: 220.8 kB / 1.317 GB, free: 195.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009705/2.098, allocations: 4.05 MB / 1.321 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.031/2.129, allocations: 27.67 MB / 1.348 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/2.13, allocations: 1.084 MB / 1.349 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/2.131, allocations: 0.9917 MB / 1.35 GB, free: 171 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.286e-05/2.131, allocations: 12.34 kB / 1.35 GB, free: 171 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/2.131, allocations: 50.19 kB / 1.35 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.636e-06/2.131, allocations: 0 / 1.35 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01817/2.15, allocations: 7.978 MB / 1.358 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/2.15, allocations: 67.38 kB / 1.358 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/2.152, allocations: 1.255 MB / 1.36 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/2.152, allocations: 45.36 kB / 1.36 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008961/2.153, allocations: 1.668 MB / 1.361 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/2.153, allocations: 470.3 kB / 1.362 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/2.154, allocations: 35.38 kB / 1.362 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001211/2.154, allocations: 373.6 kB / 1.362 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/2.155, allocations: 0.8659 MB / 1.363 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/2.156, allocations: 1.447 MB / 1.364 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/2.157, allocations: 1.114 MB / 1.365 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/2.157, allocations: 3.656 kB / 1.365 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005141/2.163, allocations: 3.183 MB / 1.368 GB, free: 162 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/2.163, allocations: 18 kB / 1.369 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/2.163, allocations: 22.75 kB / 1.369 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/2.165, allocations: 0.7129 MB / 1.369 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/2.166, allocations: 396.2 kB / 1.37 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/2.178, allocations: 15.58 MB / 1.385 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/2.18, allocations: 102.5 kB / 1.385 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/2.181, allocations: 74.06 kB / 1.385 GB, free: 148.2 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.0003574/2.181, allocations: 223.1 kB / 1.385 GB, free: 148 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/2.181, allocations: 199.9 kB / 1.385 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/2.186, allocations: 2.713 MB / 1.388 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/2.186, allocations: 13 kB / 1.388 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/2.186, allocations: 7 kB / 1.388 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/2.186, allocations: 14.03 kB / 1.388 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009822/2.196, allocations: 6.059 MB / 1.394 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/2.196, allocations: 2.938 kB / 1.394 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/2.197, allocations: 239.7 kB / 1.394 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/2.198, allocations: 0.6496 MB / 1.395 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/2.199, allocations: 33.75 kB / 1.395 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/2.209, allocations: 15.28 MB / 1.41 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/2.209, allocations: 11.94 kB / 1.41 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005683/2.215, allocations: 4.231 MB / 1.414 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/2.217, allocations: 450.5 kB / 1.414 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/2.217, allocations: 39.89 kB / 1.414 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/2.218, allocations: 83.89 kB / 1.414 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/2.218, allocations: 116.6 kB / 1.415 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.009e-05/2.218, allocations: 39.31 kB / 1.415 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00139/2.22, allocations: 0.9514 MB / 1.416 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.3e-07/2.22, allocations: 0 / 1.416 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003331/2.223, allocations: 0.707 MB / 1.416 GB, free: 122.5 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.005948/2.229, allocations: 6.178 MB / 1.422 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004506/2.234, allocations: 3.377 MB / 1.426 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/2.234, allocations: 448 / 1.426 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002634/2.236, allocations: 2.231 MB / 1.428 GB, free: 110.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/2.239, allocations: 0.5816 MB / 1.428 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/2.252, allocations: 6.208 MB / 1.434 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002394/2.255, allocations: 2.722 MB / 1.437 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001745/2.257, allocations: 472.6 kB / 1.438 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/2.258, allocations: 1.277 MB / 1.439 GB, free: 98.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.413e-06/2.258, allocations: 4 kB / 1.439 GB, free: 98.94 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08678/2.345, allocations: 54.09 MB / 1.492 GB, free: 45.76 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/2.345, allocations: 209 kB / 1.492 GB, free: 45.53 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.693/6.038, allocations: 0 / 1.492 GB, free: 45.53 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)