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.638/2.638, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001532/0.001532, allocations: 180.8 kB / 360.6 MB, free: 7.285 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.171/2.171, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001034/0.001034, allocations: 91 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.423e-05/2.433e-05, allocations: 4 kB / 0.8509 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8158, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/1.129, allocations: 194.1 MB / 1.153 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/1.129, allocations: 101.1 kB / 1.153 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/2.447, allocations: 145.1 MB / 1.295 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.286e-06/2.447, allocations: 4.219 kB / 1.295 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004129/2.448, allocations: 89.83 kB / 1.295 GB, free: 198.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.0155/2.463, allocations: 3.221 MB / 1.298 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/2.463, allocations: 8.531 kB / 1.298 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00956/2.473, allocations: 0.8309 MB / 1.299 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01087/2.484, allocations: 2.55 MB / 1.301 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/2.484, allocations: 117.6 kB / 1.301 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/2.487, allocations: 230 kB / 1.302 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01298/2.5, allocations: 3.582 MB / 1.305 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/2.519, allocations: 5.113 MB / 1.31 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/2.519, allocations: 17.75 kB / 1.31 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008833/2.52, allocations: 9.969 kB / 1.31 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003876/2.52, allocations: 216.8 kB / 1.31 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03968/2.56, allocations: 26.9 MB / 1.337 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/2.562, allocations: 1.055 MB / 1.338 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/2.564, allocations: 0.9452 MB / 1.339 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/2.564, allocations: 13 kB / 1.339 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/2.564, allocations: 51.27 kB / 1.339 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/2.564, allocations: 2.531 kB / 1.339 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02013/2.584, allocations: 6.77 MB / 1.345 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/2.585, allocations: 74.28 kB / 1.345 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/2.587, allocations: 1.077 MB / 1.346 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003109/2.587, allocations: 25.7 kB / 1.346 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/2.588, allocations: 1.67 MB / 1.348 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/2.589, allocations: 451.2 kB / 1.348 GB, free: 167 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/2.589, allocations: 0 / 1.348 GB, free: 167 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001321/2.589, allocations: 371.5 kB / 1.349 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/2.591, allocations: 0.8298 MB / 1.35 GB, free: 166.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/2.593, allocations: 1.401 MB / 1.351 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/2.595, allocations: 1.067 MB / 1.352 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/2.595, allocations: 6.969 kB / 1.352 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.008193/2.603, allocations: 2.964 MB / 1.355 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/2.603, allocations: 18.03 kB / 1.355 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/2.603, allocations: 22.41 kB / 1.355 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/2.607, allocations: 0.6965 MB / 1.356 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/2.61, allocations: 395.8 kB / 1.356 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/2.628, allocations: 14.96 MB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/2.63, allocations: 66 kB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/2.63, allocations: 80.56 kB / 1.371 GB, free: 150.6 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.0004368/2.631, allocations: 161.4 kB / 1.371 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006627/2.638, allocations: 2.444 MB / 1.373 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007392/2.638, allocations: 186.1 kB / 1.374 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00706/2.645, allocations: 2.589 MB / 1.376 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/2.645, allocations: 14.59 kB / 1.376 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/2.645, allocations: 12.97 kB / 1.376 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/2.645, allocations: 11.22 kB / 1.376 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/2.66, allocations: 5.364 MB / 1.381 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/2.66, allocations: 6.219 kB / 1.381 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002455/2.662, allocations: 239.4 kB / 1.382 GB, free: 146 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/2.665, allocations: 0.6326 MB / 1.382 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002783/2.666, allocations: 10.62 kB / 1.382 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/2.682, allocations: 14.68 MB / 1.397 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/2.683, allocations: 11.56 kB / 1.397 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009067/2.692, allocations: 4.095 MB / 1.401 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/2.693, allocations: 431.3 kB / 1.401 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/2.694, allocations: 16.83 kB / 1.401 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/2.696, allocations: 59.03 kB / 1.401 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/2.696, allocations: 113.8 kB / 1.401 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/2.696, allocations: 44.28 kB / 1.401 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001628/2.698, allocations: 0.7913 MB / 1.402 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.81e-07/2.698, allocations: 3.469 kB / 1.402 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004267/2.702, allocations: 0.6391 MB / 1.403 GB, free: 130.3 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.009854/2.712, allocations: 6.036 MB / 1.408 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007375/2.72, allocations: 3.225 MB / 1.412 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/2.72, allocations: 0 / 1.412 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004713/2.724, allocations: 2.13 MB / 1.414 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004713/2.729, allocations: 0.5271 MB / 1.414 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/2.754, allocations: 6.088 MB / 1.42 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007213/2.761, allocations: 2.73 MB / 1.423 GB, free: 112.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003681/2.765, allocations: 461.4 kB / 1.423 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003704/2.768, allocations: 1.273 MB / 1.425 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/2.768, allocations: 4 kB / 1.425 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/2.917, allocations: 50.71 MB / 1.474 GB, free: 63.66 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002893/2.917, allocations: 167.5 kB / 1.474 GB, free: 63.47 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/6.795, allocations: 0 / 1.474 GB, free: 63.47 MB / 0.8542 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)