Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008059/0.0008058, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008953/0.0008953, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000459/0.000459, allocations: 19.34 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005645/0.2356, allocations: 4.883 MB / 0.7921 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.2396, allocations: 2.504 MB / 0.7945 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.24, allocations: 23.81 kB / 0.7945 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.2403, allocations: 103.1 kB / 0.7946 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008224/0.2411, allocations: 330.2 kB / 0.7949 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000828/0.242, allocations: 304.5 kB / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009361/0.2429, allocations: 1.045 MB / 0.7962 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.244, allocations: 0.7491 MB / 0.797 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.2444, allocations: 310.7 kB / 0.7973 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.2449, allocations: 374.6 kB / 0.7976 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.2449, allocations: 28 kB / 0.7977 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.2453, allocations: 183.8 kB / 0.7978 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.2456, allocations: 227.3 kB / 0.7981 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.2457, allocations: 145.3 kB / 0.7982 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.2464, allocations: 0.721 MB / 0.7989 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2464, allocations: 0 / 0.7989 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2464, allocations: 0 / 0.7989 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.2464, allocations: 0 / 0.7989 GB, free: 15.95 MB / 0.6231 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.001307/0.2478, allocations: 0.8645 MB / 0.7997 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2478, allocations: 8.031 kB / 0.7997 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.249, allocations: 195 kB / 0.7999 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.2497, allocations: 477.4 kB / 0.8004 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.2497, allocations: 37 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.2499, allocations: 55.92 kB / 0.8005 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2509, allocations: 0.8278 MB / 0.8013 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.251, allocations: 7.938 kB / 0.8013 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.251, allocations: 20 kB / 0.8013 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.2512, allocations: 68.94 kB / 0.8014 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008009/0.252, allocations: 0.5697 MB / 0.8019 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/0.2559, allocations: 4.581 MB / 0.8064 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.2564, allocations: 307.2 kB / 0.8067 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.2567, allocations: 225.3 kB / 0.8069 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.2567, allocations: 8.281 kB / 0.8069 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.2567, allocations: 30.84 kB / 0.807 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2567, allocations: 4 kB / 0.807 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.004921/0.2617, allocations: 2.635 MB / 0.8095 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.2617, allocations: 55.41 kB / 0.8096 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.2622, allocations: 462 kB / 0.81 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.2622, allocations: 29.7 kB / 0.8101 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.2624, allocations: 343.6 kB / 0.8104 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2625, allocations: 145.9 kB / 0.8105 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.2626, allocations: 12 kB / 0.8105 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2627, allocations: 366.8 kB / 0.8109 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.263, allocations: 240.9 kB / 0.8111 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.2634, allocations: 406.4 kB / 0.8115 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.2638, allocations: 297.5 kB / 0.8118 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2639, allocations: 0 / 0.8118 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001471/0.2653, allocations: 0.9178 MB / 0.8127 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2654, allocations: 11.98 kB / 0.8127 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2654, allocations: 4 kB / 0.8127 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.2661, allocations: 222.4 kB / 0.8129 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.2665, allocations: 111.8 kB / 0.813 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.2709, allocations: 4.934 MB / 0.8178 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003974/0.2713, allocations: 31.97 kB / 0.8179 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.2713, allocations: 24.06 kB / 0.8179 GB, free: 11.29 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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.0002916/0.2716, allocations: 224.5 kB / 0.8181 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/0.2717, allocations: 59.33 kB / 0.8182 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.2731, allocations: 0.7703 MB / 0.8189 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2731, allocations: 7.984 kB / 0.8189 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2731, allocations: 4 kB / 0.8189 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2731, allocations: 0 / 0.8189 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.2753, allocations: 1.498 MB / 0.8204 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2753, allocations: 0 / 0.8204 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.2756, allocations: 75.88 kB / 0.8205 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/0.2762, allocations: 206.7 kB / 0.8206 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.2762, allocations: 8.188 kB / 0.8207 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.2804, allocations: 4.872 MB / 0.8254 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2805, allocations: 8.062 kB / 0.8254 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.2821, allocations: 1.135 MB / 0.8265 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.2823, allocations: 172.3 kB / 0.8267 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.11e-05/0.2824, allocations: 11.98 kB / 0.8267 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.2826, allocations: 32.03 kB / 0.8267 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.2827, allocations: 35.91 kB / 0.8268 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2828, allocations: 12 kB / 0.8268 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003097/0.2831, allocations: 310.9 kB / 0.8271 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2831, allocations: 3.938 kB / 0.8271 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006512/0.2837, allocations: 164 kB / 0.8272 GB, free: 1.117 MB / 0.6387 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.0001581/0.2839, allocations: 119.2 kB / 0.8274 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.2853, allocations: 0.9972 MB / 0.8283 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2853, allocations: 8.062 kB / 0.8283 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.2862, allocations: 0.6758 MB / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.2869, allocations: 165.1 kB / 0.8292 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.2888, allocations: 1.507 MB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.2893, allocations: 0.9494 MB / 0.8316 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.2897, allocations: 109 kB / 0.8317 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.248e-05/0.2898, allocations: 43.44 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.2898, allocations: 0 / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.01276/0.3025, allocations: 8.164 MB / 0.8397 GB, free: 4.332 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: