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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.707/1.707, allocations: 288.4 MB / 304.3 MB, free: 8.133 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.001048/0.001048, allocations: 191 kB / 372.9 MB, free: 10.12 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.437/1.437, allocations: 205.4 MB / 0.6317 GB, free: 9.883 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.0007793/0.0007793, allocations: 108 kB / 0.7451 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 16.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2064, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7535/0.96, allocations: 188 MB / 1.164 GB, free: 10.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.9604, allocations: 101 kB / 1.164 GB, free: 10.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07385/1.034, allocations: 31.97 MB / 1.196 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.268e-06/1.034, allocations: 8 kB / 1.196 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.315e-05/1.034, allocations: 19.98 kB / 1.196 GB, free: 15.73 MB / 0.7292 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.001777/1.036, allocations: 0.8631 MB / 1.197 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.036, allocations: 12.03 kB / 1.197 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.038, allocations: 199.8 kB / 1.197 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/1.039, allocations: 0.5164 MB / 1.197 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/1.039, allocations: 39.12 kB / 1.197 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/1.039, allocations: 58.83 kB / 1.197 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.04, allocations: 0.8775 MB / 1.198 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/1.04, allocations: 7.938 kB / 1.198 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.38e-05/1.04, allocations: 28.86 kB / 1.198 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.664e-05/1.04, allocations: 40.98 kB / 1.198 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008584/1.041, allocations: 0.5686 MB / 1.199 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/1.046, allocations: 4.604 MB / 1.203 GB, free: 8.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/1.046, allocations: 291.9 kB / 1.204 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/1.046, allocations: 230.4 kB / 1.204 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/1.046, allocations: 4 kB / 1.204 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/1.046, allocations: 34.56 kB / 1.204 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 4.228e-06/1.046, allocations: 0 / 1.204 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.005322/1.052, allocations: 2.636 MB / 1.206 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.052, allocations: 55.41 kB / 1.206 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/1.052, allocations: 465.1 kB / 1.207 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/1.052, allocations: 36.02 kB / 1.207 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/1.052, allocations: 336.8 kB / 1.207 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.745e-05/1.053, allocations: 143.8 kB / 1.207 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/1.053, allocations: 13.81 kB / 1.207 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.053, allocations: 359.5 kB / 1.208 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/1.053, allocations: 236.8 kB / 1.208 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/1.053, allocations: 385.1 kB / 1.208 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007711/1.054, allocations: 0.6507 MB / 1.209 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.054, allocations: 0 / 1.209 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001484/1.056, allocations: 0.8977 MB / 1.21 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.056, allocations: 11.94 kB / 1.21 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.056, allocations: 4 kB / 1.21 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007544/1.057, allocations: 225.1 kB / 1.21 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.057, allocations: 107.8 kB / 1.21 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/1.061, allocations: 4.944 MB / 1.215 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004489/1.062, allocations: 31.03 kB / 1.215 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/1.062, allocations: 23.75 kB / 1.215 GB, free: 13.69 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.0003478/1.062, allocations: 220.7 kB / 1.215 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/1.062, allocations: 62.78 kB / 1.215 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/1.064, allocations: 0.7649 MB / 1.216 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.064, allocations: 8 kB / 1.216 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.064, allocations: 4 kB / 1.216 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.064, allocations: 0 / 1.216 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.066, allocations: 1.48 MB / 1.218 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.066, allocations: 192 / 1.218 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/1.067, allocations: 75.39 kB / 1.218 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007685/1.067, allocations: 210.3 kB / 1.218 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/1.068, allocations: 19.17 kB / 1.218 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004502/1.072, allocations: 4.865 MB / 1.223 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.072, allocations: 4 kB / 1.223 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/1.074, allocations: 1.133 MB / 1.224 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/1.074, allocations: 174.4 kB / 1.224 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/1.074, allocations: 9.328 kB / 1.224 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/1.074, allocations: 26.72 kB / 1.224 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/1.075, allocations: 43.38 kB / 1.224 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/1.075, allocations: 11.25 kB / 1.224 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003786/1.075, allocations: 319.5 kB / 1.224 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 0 / 1.224 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007666/1.076, allocations: 182.2 kB / 1.224 GB, free: 5.094 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.0002083/1.076, allocations: 114 kB / 1.225 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001638/1.078, allocations: 0.9912 MB / 1.225 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.078, allocations: 0 / 1.225 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009374/1.079, allocations: 0.6809 MB / 1.226 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/1.08, allocations: 167.4 kB / 1.226 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/1.082, allocations: 1.499 MB / 1.228 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/1.082, allocations: 0.9503 MB / 1.229 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003959/1.083, allocations: 116.9 kB / 1.229 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/1.083, allocations: 35.44 kB / 1.229 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of SimCode: time 1.022e-06/1.083, allocations: 0 / 1.229 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of Templates: time 0.01465/1.098, allocations: 8.294 MB / 1.237 GB, free: 8.699 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)