Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.757/1.757, allocations: 288.2 MB / 303.2 MB, free: 8.176 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.001211/0.001211, allocations: 187.4 kB / 371.8 MB, free: 10.28 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.4 MB / 0.6305 GB, free: 9.996 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.001052/0.001052, allocations: 93.16 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004185, allocations: 11 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7617/0.9796, allocations: 188 MB / 1.163 GB, free: 11.04 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.98, allocations: 105.1 kB / 1.163 GB, free: 10.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07787/1.058, allocations: 31.98 MB / 1.194 GB, free: 72 kB / 0.7136 GB Notification: Performance of FrontEnd: time 4.068e-06/1.058, allocations: 0 / 1.194 GB, free: 72 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.08e-05/1.058, allocations: 23.94 kB / 1.194 GB, free: 48 kB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001705/1.06, allocations: 0.8751 MB / 1.195 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/1.06, allocations: 8.031 kB / 1.195 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/1.06, allocations: 100.5 kB / 1.195 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/1.061, allocations: 193.6 kB / 1.196 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.062, allocations: 0.502 MB / 1.196 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/1.062, allocations: 34.06 kB / 1.196 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/1.063, allocations: 62.92 kB / 1.196 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/1.064, allocations: 0.8619 MB / 1.197 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/1.064, allocations: 7.938 kB / 1.197 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.16e-05/1.064, allocations: 24.88 kB / 1.197 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/1.064, allocations: 44.53 kB / 1.197 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/1.065, allocations: 0.5697 MB / 1.198 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/1.07, allocations: 4.601 MB / 1.202 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004354/1.07, allocations: 301.5 kB / 1.202 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/1.07, allocations: 4 kB / 1.202 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.071, allocations: 38.44 kB / 1.202 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/1.071, allocations: 0 / 1.202 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.005473/1.076, allocations: 2.637 MB / 1.205 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.076, allocations: 55.41 kB / 1.205 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/1.077, allocations: 401.7 kB / 1.205 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/1.077, allocations: 33.27 kB / 1.205 GB, free: 5.738 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/1.077, allocations: 336.9 kB / 1.206 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/1.077, allocations: 141.2 kB / 1.206 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.077, allocations: 10.25 kB / 1.206 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.077, allocations: 369.4 kB / 1.206 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/1.077, allocations: 241.9 kB / 1.207 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/1.078, allocations: 380.8 kB / 1.207 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/1.078, allocations: 290 kB / 1.207 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.078, allocations: 0 / 1.207 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001564/1.08, allocations: 0.8986 MB / 1.208 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.08, allocations: 8 kB / 1.208 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.08, allocations: 4 kB / 1.208 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008235/1.081, allocations: 226 kB / 1.208 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/1.081, allocations: 111.2 kB / 1.208 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/1.086, allocations: 5.009 MB / 1.213 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.087, allocations: 26.73 kB / 1.213 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/1.087, allocations: 25.86 kB / 1.213 GB, free: 14.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004065/1.087, allocations: 232.4 kB / 1.214 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.527e-05/1.087, allocations: 55.34 kB / 1.214 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/1.089, allocations: 0.7756 MB / 1.214 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.089, allocations: 4 kB / 1.214 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.089, allocations: 4 kB / 1.214 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.089, allocations: 3.984 kB / 1.214 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/1.091, allocations: 1.477 MB / 1.216 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.091, allocations: 4 kB / 1.216 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/1.092, allocations: 66.89 kB / 1.216 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006739/1.092, allocations: 212.1 kB / 1.216 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/1.092, allocations: 7.875 kB / 1.216 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/1.097, allocations: 4.952 MB / 1.221 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.097, allocations: 0 / 1.221 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/1.099, allocations: 1.212 MB / 1.222 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/1.099, allocations: 173.9 kB / 1.222 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/1.099, allocations: 11.06 kB / 1.222 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/1.1, allocations: 27.59 kB / 1.222 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.1, allocations: 35.02 kB / 1.222 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/1.1, allocations: 15.52 kB / 1.222 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004372/1.1, allocations: 316.8 kB / 1.223 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/1.1, allocations: 0 / 1.223 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009176/1.101, allocations: 178.5 kB / 1.223 GB, free: 5.676 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002376/1.104, allocations: 2.25 MB / 1.225 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.105, allocations: 1.005 MB / 1.226 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.105, allocations: 0 / 1.226 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/1.106, allocations: 0.669 MB / 1.227 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/1.107, allocations: 168 kB / 1.227 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007907/1.115, allocations: 6.855 MB / 1.233 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/1.116, allocations: 0.9621 MB / 1.234 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004309/1.116, allocations: 112.9 kB / 1.235 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/1.117, allocations: 209.2 kB / 1.235 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of SimCode: time 1.173e-06/1.117, allocations: 4 kB / 1.235 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/1.146, allocations: 13.32 MB / 1.248 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/1.147, allocations: 226.3 kB / 1.248 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.477, allocations: 4 kB / 1.248 GB, free: 13.3 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)