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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009579/0.0009581, allocations: 97.41 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.007162/0.007163, allocations: 170.8 kB / 16.27 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004806, allocations: 9.562 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3779, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04494/0.4229, allocations: 39.87 MB / 1.113 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.4495, allocations: 14.93 MB / 1.128 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004869/0.4545, allocations: 163.1 kB / 1.128 GB, free: 468 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003395/0.4579, allocations: 0.8606 MB / 1.129 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008155/0.4661, allocations: 2.644 MB / 1.131 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007968/0.4741, allocations: 2.709 MB / 1.134 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02241/0.4965, allocations: 15.99 MB / 1.149 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02754/0.5241, allocations: 15.78 MB / 1.165 GB, free: 10.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007079/0.5312, allocations: 3.528 MB / 1.168 GB, free: 6.746 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008565/0.5398, allocations: 4.765 MB / 1.173 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002154/0.542, allocations: 396 kB / 1.173 GB, free: 1.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005306/0.5473, allocations: 1.813 MB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.005627/0.553, allocations: 3.004 MB / 1.178 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.009106/0.5621, allocations: 3.523 MB / 1.182 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01678/0.5789, allocations: 13.6 MB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.579, allocations: 0 / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.156e-06/0.579, allocations: 7.938 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004196/0.5794, allocations: 0 / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01657/0.596, allocations: 6.162 MB / 1.201 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.596, allocations: 11.97 kB / 1.201 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.6069, allocations: 1.518 MB / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008854/0.6158, allocations: 4.209 MB / 1.206 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003993/0.6162, allocations: 452.5 kB / 1.207 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/0.6183, allocations: 0.59 MB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.6412, allocations: 10.69 MB / 1.218 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/0.6415, allocations: 35.61 kB / 1.218 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009829/0.6425, allocations: 263.9 kB / 1.218 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00299/0.6455, allocations: 0.7768 MB / 1.219 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.6631, allocations: 8.557 MB / 1.227 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.654/1.317, allocations: 47 MB / 1.273 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006031/1.323, allocations: 4.314 MB / 1.277 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005626/1.329, allocations: 3.678 MB / 1.281 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/1.329, allocations: 40.28 kB / 1.281 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/1.329, allocations: 82.73 kB / 1.281 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.29e-06/1.329, allocations: 0 / 1.281 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4945/1.824, allocations: 128.1 MB / 1.406 GB, free: 34.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/1.824, allocations: 115.9 kB / 1.406 GB, free: 34.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/1.827, allocations: 2.689 MB / 1.409 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001163/1.829, allocations: 121.7 kB / 1.409 GB, free: 31.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.83, allocations: 2.674 MB / 1.412 GB, free: 28.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001959/1.832, allocations: 1.961 MB / 1.414 GB, free: 26.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007527/1.833, allocations: 442 kB / 1.414 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/1.833, allocations: 301.1 kB / 1.414 GB, free: 26.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005362/1.838, allocations: 4.079 MB / 1.418 GB, free: 22.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006096/1.844, allocations: 5.019 MB / 1.423 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/1.857, allocations: 9.848 MB / 1.433 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/1.857, allocations: 8 kB / 1.433 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0416/1.899, allocations: 17 MB / 1.449 GB, free: 5.309 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/1.899, allocations: 12 kB / 1.449 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.632e-05/1.899, allocations: 28.12 kB / 1.449 GB, free: 5.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03394/1.933, allocations: 9.078 MB / 1.458 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/1.936, allocations: 0.5304 MB / 1.459 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1107/2.046, allocations: 70.72 MB / 1.528 GB, free: 3.426 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/2.052, allocations: 279.8 kB / 1.528 GB, free: 3.152 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008629/2.053, allocations: 192 kB / 1.528 GB, free: 2.965 MB / 1.092 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004901/2.058, allocations: 2.425 MB / 1.531 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/2.059, allocations: 470.5 kB / 1.531 GB, free: 64 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04118/2.1, allocations: 16.82 MB / 1.548 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-05/2.1, allocations: 56 kB / 1.548 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002325/2.1, allocations: 72 kB / 1.548 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001525/2.101, allocations: 27.89 kB / 1.548 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05853/2.159, allocations: 25.69 MB / 1.573 GB, free: 5.031 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.65e-05/2.159, allocations: 8 kB / 1.573 GB, free: 5.023 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/2.161, allocations: 315.5 kB / 1.573 GB, free: 4.715 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03083/2.192, allocations: 8.277 MB / 1.581 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/2.193, allocations: 112 kB / 1.581 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09925/2.292, allocations: 67.58 MB / 1.647 GB, free: 7.246 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/2.292, allocations: 12.09 kB / 1.647 GB, free: 7.234 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04503/2.338, allocations: 21.58 MB / 1.668 GB, free: 1.309 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004221/2.342, allocations: 1.368 MB / 1.67 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/2.343, allocations: 108 kB / 1.67 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/2.347, allocations: 283.6 kB / 1.67 GB, free: 15.54 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00209/2.349, allocations: 0.5221 MB / 1.671 GB, free: 15.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000467/2.35, allocations: 140 kB / 1.671 GB, free: 14.88 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003425/2.353, allocations: 1.784 MB / 1.672 GB, free: 13.11 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.7e-07/2.353, allocations: 3.938 kB / 1.672 GB, free: 13.1 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008164/2.361, allocations: 2.461 MB / 1.675 GB, free: 10.64 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007908/2.362, allocations: 242.9 kB / 1.675 GB, free: 10.39 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.027/2.389, allocations: 14.52 MB / 1.689 GB, free: 11.67 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/2.389, allocations: 4 kB / 1.689 GB, free: 11.66 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0194/2.409, allocations: 9.379 MB / 1.698 GB, free: 2.133 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/2.419, allocations: 1.29 MB / 1.7 GB, free: 0.8594 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/2.449, allocations: 18.81 MB / 1.718 GB, free: 13.92 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007246/2.456, allocations: 4.896 MB / 1.723 GB, free: 8.984 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.003254/2.46, allocations: 0.741 MB / 1.724 GB, free: 8.238 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/2.46, allocations: 195.4 kB / 1.724 GB, free: 8.051 MB / 1.295 GB Notification: Performance of SimCode: time 1.914e-06/2.46, allocations: 0 / 1.724 GB, free: 8.051 MB / 1.295 GB Notification: Performance of Templates: time 0.852/3.312, allocations: 138.7 MB / 1.859 GB, free: 343.9 MB / 1.295 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)