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.586/1.586, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.00115/0.00115, allocations: 188.3 kB / 361.4 MB, free: 6.844 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.429/1.429, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008733/0.0008733, allocations: 87.72 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.978e-05, allocations: 8 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6414, allocations: 115.3 MB / 0.9645 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.8859, allocations: 194.3 MB / 1.154 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.8863, allocations: 97.48 kB / 1.154 GB, free: 9.27 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9239/1.81, allocations: 145.1 MB / 1.296 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.867e-06/1.81, allocations: 1.094 kB / 1.296 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000556/1.811, allocations: 100.2 kB / 1.296 GB, free: 198.9 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.01365/1.824, allocations: 3.217 MB / 1.299 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.825, allocations: 10.47 kB / 1.299 GB, free: 197.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/1.832, allocations: 0.8215 MB / 1.3 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008914/1.841, allocations: 2.556 MB / 1.303 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/1.841, allocations: 117.2 kB / 1.303 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/1.844, allocations: 231.1 kB / 1.303 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01133/1.855, allocations: 3.585 MB / 1.306 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/1.871, allocations: 5.106 MB / 1.311 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/1.872, allocations: 15.25 kB / 1.311 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004289/1.872, allocations: 20.05 kB / 1.311 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/1.872, allocations: 214.3 kB / 1.312 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03191/1.904, allocations: 26.9 MB / 1.338 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/1.906, allocations: 1.056 MB / 1.339 GB, free: 173 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.907, allocations: 0.9532 MB / 1.34 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.828e-05/1.907, allocations: 13.12 kB / 1.34 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.907, allocations: 43.44 kB / 1.34 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.507e-06/1.907, allocations: 0 / 1.34 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.01276/1.92, allocations: 6.776 MB / 1.346 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.92, allocations: 63.72 kB / 1.347 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/1.922, allocations: 1.072 MB / 1.348 GB, free: 169 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.922, allocations: 25.7 kB / 1.348 GB, free: 169 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008781/1.923, allocations: 1.676 MB / 1.349 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/1.923, allocations: 459.2 kB / 1.35 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.827e-05/1.923, allocations: 0 / 1.35 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.923, allocations: 377 kB / 1.35 GB, free: 167 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009865/1.924, allocations: 0.8178 MB / 1.351 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.926, allocations: 1.402 MB / 1.352 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/1.927, allocations: 1.065 MB / 1.353 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.927, allocations: 6.125 kB / 1.353 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004934/1.932, allocations: 2.965 MB / 1.356 GB, free: 164 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/1.932, allocations: 17.98 kB / 1.356 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.932, allocations: 21.38 kB / 1.356 GB, free: 164 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/1.934, allocations: 0.7012 MB / 1.357 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.935, allocations: 398.4 kB / 1.357 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01123/1.947, allocations: 14.95 MB / 1.372 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/1.949, allocations: 67.7 kB / 1.372 GB, free: 151 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/1.949, allocations: 76.53 kB / 1.372 GB, free: 151 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.0003679/1.949, allocations: 169.4 kB / 1.372 GB, free: 150.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003838/1.953, allocations: 2.446 MB / 1.375 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/1.954, allocations: 186.8 kB / 1.375 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004109/1.958, allocations: 2.594 MB / 1.377 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/1.958, allocations: 11.81 kB / 1.377 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/1.958, allocations: 7.844 kB / 1.377 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.958, allocations: 3.938 kB / 1.377 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009354/1.967, allocations: 5.367 MB / 1.383 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.967, allocations: 3.656 kB / 1.383 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/1.968, allocations: 246.2 kB / 1.383 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/1.97, allocations: 0.6335 MB / 1.383 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-05/1.97, allocations: 12.14 kB / 1.383 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.98, allocations: 14.68 MB / 1.398 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/1.98, allocations: 15.7 kB / 1.398 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/1.986, allocations: 4.099 MB / 1.402 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.987, allocations: 435.1 kB / 1.402 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/1.988, allocations: 11.5 kB / 1.402 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008391/1.988, allocations: 59.5 kB / 1.402 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/1.989, allocations: 114.3 kB / 1.402 GB, free: 131 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.214e-05/1.989, allocations: 39.5 kB / 1.402 GB, free: 131 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001122/1.99, allocations: 0.7924 MB / 1.403 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.7e-07/1.99, allocations: 0 / 1.403 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002882/1.993, allocations: 0.6465 MB / 1.404 GB, free: 130.6 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.00528/1.998, allocations: 6.031 MB / 1.41 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00412/2.002, allocations: 3.236 MB / 1.413 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/2.002, allocations: 0 / 1.413 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002428/2.005, allocations: 2.129 MB / 1.415 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/2.008, allocations: 0.5273 MB / 1.415 GB, free: 120 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/2.02, allocations: 6.081 MB / 1.421 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002477/2.023, allocations: 2.727 MB / 1.424 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001786/2.025, allocations: 463.9 kB / 1.424 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/2.026, allocations: 1.275 MB / 1.426 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/2.026, allocations: 0 / 1.426 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08856/2.115, allocations: 50.72 MB / 1.475 GB, free: 62.41 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/2.115, allocations: 175.2 kB / 1.475 GB, free: 62.22 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.358/5.473, allocations: 2.969 kB / 1.475 GB, free: 62.22 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)