Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 180.8 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008513/0.0008513, allocations: 82.48 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.723e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7448/0.9517, allocations: 181.9 MB / 1.063 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.9521, allocations: 99.06 kB / 1.063 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07517/1.027, allocations: 31.65 MB / 1.094 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/1.027, allocations: 0 / 1.094 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.596e-05/1.027, allocations: 19.94 kB / 1.094 GB, free: 11.63 MB / 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.001752/1.029, allocations: 0.8084 MB / 1.095 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/1.029, allocations: 12.03 kB / 1.095 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/1.031, allocations: 190.9 kB / 1.095 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/1.032, allocations: 0.5025 MB / 1.095 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/1.032, allocations: 16 kB / 1.095 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.032, allocations: 39.91 kB / 1.095 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007233/1.033, allocations: 458.8 kB / 1.096 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/1.034, allocations: 0.7908 MB / 1.097 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/1.034, allocations: 7.938 kB / 1.097 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/1.034, allocations: 4 kB / 1.097 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-05/1.034, allocations: 43.66 kB / 1.097 GB, free: 9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/1.038, allocations: 4.488 MB / 1.101 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/1.038, allocations: 281.2 kB / 1.101 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/1.039, allocations: 213.7 kB / 1.102 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/1.039, allocations: 4 kB / 1.102 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/1.039, allocations: 34.44 kB / 1.102 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.767e-06/1.039, allocations: 0 / 1.102 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.003698/1.042, allocations: 1.984 MB / 1.104 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.042, allocations: 55.41 kB / 1.104 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/1.043, allocations: 336.1 kB / 1.104 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/1.043, allocations: 29.7 kB / 1.104 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/1.043, allocations: 342.1 kB / 1.104 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/1.043, allocations: 143.3 kB / 1.104 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/1.043, allocations: 0 / 1.104 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.044, allocations: 365.1 kB / 1.105 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/1.044, allocations: 213 kB / 1.105 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/1.044, allocations: 365.5 kB / 1.105 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/1.045, allocations: 271.9 kB / 1.106 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.045, allocations: 4 kB / 1.106 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001432/1.046, allocations: 0.8208 MB / 1.106 GB, free: 160 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.046, allocations: 8.094 kB / 1.106 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.046, allocations: 11.98 kB / 1.106 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/1.047, allocations: 216.4 kB / 1.107 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/1.047, allocations: 110.8 kB / 1.107 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/1.052, allocations: 4.731 MB / 1.111 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004493/1.052, allocations: 19.97 kB / 1.111 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/1.052, allocations: 19.56 kB / 1.111 GB, free: 11.2 MB / 0.7292 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 () * 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.0001496/1.053, allocations: 120.9 kB / 1.112 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001239/1.054, allocations: 0.6802 MB / 1.112 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/1.054, allocations: 55.33 kB / 1.112 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/1.055, allocations: 0.723 MB / 1.113 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.055, allocations: 4 kB / 1.113 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/1.055, allocations: 7.984 kB / 1.113 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.055, allocations: 4.141 kB / 1.113 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/1.057, allocations: 1.358 MB / 1.114 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.057, allocations: 8.016 kB / 1.114 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/1.058, allocations: 63.89 kB / 1.114 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006317/1.058, allocations: 203.3 kB / 1.115 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/1.059, allocations: 4 kB / 1.115 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00433/1.063, allocations: 4.663 MB / 1.119 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.063, allocations: 7.984 kB / 1.119 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/1.065, allocations: 1.172 MB / 1.12 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.065, allocations: 160.1 kB / 1.12 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/1.065, allocations: 7.984 kB / 1.12 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/1.065, allocations: 15.97 kB / 1.12 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/1.065, allocations: 39.53 kB / 1.12 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/1.065, allocations: 14.81 kB / 1.12 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002889/1.066, allocations: 254.5 kB / 1.121 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/1.066, allocations: 4.062 kB / 1.121 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007059/1.066, allocations: 159.9 kB / 1.121 GB, free: 2.43 MB / 0.7292 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 () * 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.00211/1.068, allocations: 2.187 MB / 1.123 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001452/1.07, allocations: 0.9337 MB / 1.124 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.07, allocations: 0 / 1.124 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009142/1.071, allocations: 0.64 MB / 1.125 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/1.072, allocations: 141.2 kB / 1.125 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/1.074, allocations: 1.082 MB / 1.126 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/1.074, allocations: 0.9687 MB / 1.127 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000351/1.075, allocations: 108.6 kB / 1.127 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/1.075, allocations: 207.4 kB / 1.127 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/1.075, allocations: 0 / 1.127 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03177/1.107, allocations: 11.97 MB / 1.139 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.107, allocations: 173 kB / 1.139 GB, free: 420 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/3.213, allocations: 0 / 1.139 GB, free: 420 kB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)