Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008338/0.0008335, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006699/0.006699, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.582/1.582, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 473.4 MB / 0.7469 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005065, allocations: 9.281 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3946, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04458/0.4392, allocations: 39.86 MB / 1.113 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02513/0.4644, allocations: 14.94 MB / 1.128 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004321/0.4687, allocations: 159.1 kB / 1.128 GB, free: 472 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.4724, allocations: 0.8568 MB / 1.129 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009046/0.4815, allocations: 2.644 MB / 1.131 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008581/0.4901, allocations: 2.701 MB / 1.134 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.02089/0.511, allocations: 16 MB / 1.149 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02973/0.5408, allocations: 15.78 MB / 1.165 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007748/0.5486, allocations: 3.532 MB / 1.168 GB, free: 6.754 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009615/0.5583, allocations: 4.757 MB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002726/0.561, allocations: 404 kB / 1.173 GB, free: 1.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006651/0.5677, allocations: 1.821 MB / 1.175 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.006652/0.5744, allocations: 3 MB / 1.178 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.009764/0.5842, allocations: 3.523 MB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.6044, allocations: 13.59 MB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6045, allocations: 4 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.306e-06/0.6045, allocations: 0 / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0005563/0.605, allocations: 3.938 kB / 1.195 GB, free: 11.56 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.01964/0.6247, allocations: 6.166 MB / 1.201 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6248, allocations: 8.031 kB / 1.201 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.6366, allocations: 1.515 MB / 1.202 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009867/0.6465, allocations: 4.217 MB / 1.206 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006271/0.6472, allocations: 452.5 kB / 1.207 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003185/0.6504, allocations: 0.59 MB / 1.207 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/0.68, allocations: 10.69 MB / 1.218 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003995/0.6804, allocations: 31.62 kB / 1.218 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002603/0.683, allocations: 263.9 kB / 1.218 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/0.6863, allocations: 0.7729 MB / 1.219 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/0.7063, allocations: 8.561 MB / 1.227 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6696/1.376, allocations: 46.99 MB / 1.273 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007112/1.383, allocations: 4.311 MB / 1.277 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00696/1.39, allocations: 3.68 MB / 1.281 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004502/1.391, allocations: 36.78 kB / 1.281 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.075e-05/1.391, allocations: 83.14 kB / 1.281 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 6.573e-06/1.391, allocations: 0 / 1.281 GB, free: 135.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.5198/1.91, allocations: 128.1 MB / 1.406 GB, free: 34.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.911, allocations: 115.9 kB / 1.406 GB, free: 34.25 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/1.916, allocations: 2.681 MB / 1.409 GB, free: 31.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001982/1.918, allocations: 125.7 kB / 1.409 GB, free: 31.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001658/1.92, allocations: 2.673 MB / 1.412 GB, free: 28.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002675/1.923, allocations: 1.954 MB / 1.414 GB, free: 26.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/1.924, allocations: 450 kB / 1.414 GB, free: 26.37 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/1.924, allocations: 301.1 kB / 1.414 GB, free: 26.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005854/1.93, allocations: 4.075 MB / 1.418 GB, free: 21.99 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00684/1.937, allocations: 5.019 MB / 1.423 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.95, allocations: 9.851 MB / 1.433 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/1.95, allocations: 4 kB / 1.433 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04158/1.992, allocations: 17 MB / 1.449 GB, free: 5.289 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/1.992, allocations: 16 kB / 1.449 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.294e-05/1.992, allocations: 24 kB / 1.449 GB, free: 5.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03432/2.026, allocations: 9.087 MB / 1.458 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/2.029, allocations: 0.5226 MB / 1.459 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1151/2.144, allocations: 70.72 MB / 1.528 GB, free: 3.398 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/2.151, allocations: 279.8 kB / 1.528 GB, free: 3.125 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/2.152, allocations: 192 kB / 1.528 GB, free: 2.938 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.006988/2.159, allocations: 2.423 MB / 1.531 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/2.161, allocations: 478.5 kB / 1.531 GB, free: 32 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.046/2.207, allocations: 16.81 MB / 1.548 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.407e-05/2.207, allocations: 59.98 kB / 1.548 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002926/2.208, allocations: 76 kB / 1.548 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001709/2.208, allocations: 23.91 kB / 1.548 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06396/2.272, allocations: 25.68 MB / 1.573 GB, free: 5.004 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-05/2.272, allocations: 8.188 kB / 1.573 GB, free: 4.996 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/2.274, allocations: 327.5 kB / 1.573 GB, free: 4.676 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03063/2.304, allocations: 8.273 MB / 1.581 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001323/2.306, allocations: 104 kB / 1.581 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1076/2.413, allocations: 67.59 MB / 1.647 GB, free: 7.207 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/2.414, allocations: 11.94 kB / 1.647 GB, free: 7.195 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05353/2.467, allocations: 21.56 MB / 1.668 GB, free: 1.277 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004819/2.472, allocations: 1.362 MB / 1.67 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002495/2.475, allocations: 104 kB / 1.67 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005396/2.48, allocations: 287.6 kB / 1.67 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003419/2.483, allocations: 0.526 MB / 1.671 GB, free: 14.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001336/2.485, allocations: 148 kB / 1.671 GB, free: 14.84 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004117/2.489, allocations: 1.78 MB / 1.672 GB, free: 13.07 MB / 1.248 GB Notification: Performance of sort global known variables: time 2.6e-07/2.489, allocations: 3.938 kB / 1.672 GB, free: 13.06 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.01249/2.501, allocations: 2.461 MB / 1.675 GB, free: 10.6 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.001612/2.503, allocations: 244.1 kB / 1.675 GB, free: 10.36 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.03054/2.534, allocations: 14.52 MB / 1.689 GB, free: 11.63 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/2.534, allocations: 1 kB / 1.689 GB, free: 11.63 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.02115/2.555, allocations: 9.394 MB / 1.698 GB, free: 2.086 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01341/2.568, allocations: 1.278 MB / 1.7 GB, free: 0.8242 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03497/2.603, allocations: 18.81 MB / 1.718 GB, free: 13.89 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007559/2.611, allocations: 4.888 MB / 1.723 GB, free: 8.957 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00323/2.614, allocations: 0.7449 MB / 1.724 GB, free: 8.207 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007673/2.615, allocations: 199.4 kB / 1.724 GB, free: 8.016 MB / 1.295 GB Notification: Performance of SimCode: time 9.52e-07/2.615, allocations: 4 kB / 1.724 GB, free: 8.012 MB / 1.295 GB Notification: Performance of Templates: time 0.9216/3.536, allocations: 138.7 MB / 1.859 GB, free: 343.9 MB / 1.295 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)