Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008068, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006003/0.006003, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 473.4 MB / 0.7469 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 13.44 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3519, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04317/0.3951, allocations: 36.38 MB / 1.11 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02404/0.4192, allocations: 12.91 MB / 1.122 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004616/0.4239, allocations: 147.1 kB / 1.122 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.4271, allocations: 0.7676 MB / 1.123 GB, free: 5.207 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/0.4359, allocations: 2.341 MB / 1.125 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007796/0.4438, allocations: 2.307 MB / 1.128 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01856/0.4624, allocations: 13.35 MB / 1.141 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02452/0.4869, allocations: 13.2 MB / 1.154 GB, free: 5.844 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.494, allocations: 2.944 MB / 1.157 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009644/0.5037, allocations: 3.865 MB / 1.16 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002573/0.5063, allocations: 320 kB / 1.161 GB, free: 14.7 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006192/0.5126, allocations: 1.638 MB / 1.162 GB, free: 13.05 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.005678/0.5183, allocations: 2.466 MB / 1.165 GB, free: 10.58 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008828/0.5271, allocations: 2.948 MB / 1.167 GB, free: 7.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/0.546, allocations: 11.29 MB / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.546, allocations: 0 / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5461, allocations: 0 / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004872/0.5466, allocations: 0 / 1.179 GB, free: 12.29 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01615/0.5627, allocations: 5.138 MB / 1.184 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.5628, allocations: 19.97 kB / 1.184 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009912/0.5727, allocations: 1.305 MB / 1.185 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009618/0.5824, allocations: 3.564 MB / 1.188 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004999/0.5829, allocations: 378.5 kB / 1.189 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002644/0.5856, allocations: 0.5001 MB / 1.189 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.6103, allocations: 8.886 MB / 1.198 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004/0.6108, allocations: 27.7 kB / 1.198 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002241/0.613, allocations: 223.9 kB / 1.198 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002514/0.6156, allocations: 0.6304 MB / 1.199 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.6353, allocations: 7.006 MB / 1.206 GB, free: 96 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06329/0.6986, allocations: 40.44 MB / 1.245 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/0.7037, allocations: 2.894 MB / 1.248 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6551/1.359, allocations: 2.652 MB / 1.25 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/1.359, allocations: 32.92 kB / 1.25 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.616e-05/1.359, allocations: 66.69 kB / 1.251 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.959e-06/1.359, allocations: 0 / 1.251 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.3014/1.661, allocations: 77.49 MB / 1.326 GB, free: 121.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/1.661, allocations: 94.73 kB / 1.326 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/1.664, allocations: 2.355 MB / 1.329 GB, free: 119 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008848/1.665, allocations: 105.7 kB / 1.329 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.666, allocations: 2.339 MB / 1.331 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002101/1.668, allocations: 1.441 MB / 1.332 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/1.669, allocations: 339 kB / 1.333 GB, free: 114.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.93e-05/1.669, allocations: 305.1 kB / 1.333 GB, free: 114.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/1.673, allocations: 2.997 MB / 1.336 GB, free: 111.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004128/1.677, allocations: 3.839 MB / 1.34 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008441/1.685, allocations: 7.388 MB / 1.347 GB, free: 99.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/1.685, allocations: 8 kB / 1.347 GB, free: 99.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02638/1.712, allocations: 12.56 MB / 1.359 GB, free: 86.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/1.712, allocations: 16 kB / 1.359 GB, free: 86.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/1.712, allocations: 24 kB / 1.359 GB, free: 86.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02209/1.734, allocations: 6.021 MB / 1.365 GB, free: 80.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/1.736, allocations: 499.1 kB / 1.366 GB, free: 80.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06794/1.804, allocations: 67.28 MB / 1.431 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/1.809, allocations: 219.9 kB / 1.431 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005846/1.81, allocations: 159.9 kB / 1.432 GB, free: 9.562 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003501/1.813, allocations: 1.992 MB / 1.434 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008609/1.814, allocations: 399.3 kB / 1.434 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02787/1.842, allocations: 12.23 MB / 1.446 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/1.842, allocations: 40 kB / 1.446 GB, free: 10.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00013/1.842, allocations: 48 kB / 1.446 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-05/1.842, allocations: 23.86 kB / 1.446 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04111/1.883, allocations: 19.17 MB / 1.465 GB, free: 7.348 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/1.884, allocations: 4 kB / 1.465 GB, free: 7.344 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/1.885, allocations: 291.5 kB / 1.465 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02177/1.907, allocations: 5.586 MB / 1.47 GB, free: 1.402 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006786/1.908, allocations: 80 kB / 1.471 GB, free: 1.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08191/1.99, allocations: 64.92 MB / 1.534 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.99, allocations: 11.94 kB / 1.534 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03433/2.024, allocations: 15.61 MB / 1.549 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003154/2.027, allocations: 1.055 MB / 1.55 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/2.028, allocations: 80 kB / 1.55 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003285/2.032, allocations: 219.7 kB / 1.55 GB, free: 12.05 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001705/2.033, allocations: 398.9 kB / 1.551 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003604/2.034, allocations: 108 kB / 1.551 GB, free: 11.55 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002526/2.036, allocations: 1.556 MB / 1.553 GB, free: 10 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.51e-07/2.036, allocations: 0 / 1.553 GB, free: 10 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.008017/2.044, allocations: 1.867 MB / 1.554 GB, free: 8.133 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008562/2.045, allocations: 214.9 kB / 1.555 GB, free: 7.914 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02309/2.068, allocations: 12.19 MB / 1.566 GB, free: 11.41 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/2.068, allocations: 5 kB / 1.566 GB, free: 11.41 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.01712/2.085, allocations: 8.391 MB / 1.575 GB, free: 2.719 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009129/2.095, allocations: 1.112 MB / 1.576 GB, free: 1.617 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/2.119, allocations: 14.84 MB / 1.59 GB, free: 2.703 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005803/2.124, allocations: 4.093 MB / 1.594 GB, free: 14.57 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002892/2.127, allocations: 0.6708 MB / 1.595 GB, free: 13.9 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005933/2.128, allocations: 183.4 kB / 1.595 GB, free: 13.72 MB / 1.17 GB Notification: Performance of SimCode: time 1.283e-06/2.128, allocations: 0 / 1.595 GB, free: 13.72 MB / 1.17 GB Notification: Performance of Templates: time 0.1796/2.308, allocations: 105.1 MB / 1.698 GB, free: 5.566 MB / 1.264 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)