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.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_3.0.0_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_3.0.0_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.001215/0.001215, allocations: 97.64 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.01145/0.01145, allocations: 170.1 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.705/1.705, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.000369, allocations: 10.94 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3728, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04013/0.413, allocations: 36.38 MB / 1.11 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.4352, allocations: 12.91 MB / 1.122 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005064/0.4403, allocations: 151.1 kB / 1.122 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003449/0.4438, allocations: 0.7598 MB / 1.123 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008333/0.4522, allocations: 2.341 MB / 1.125 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00742/0.4596, allocations: 2.304 MB / 1.128 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01738/0.477, allocations: 13.35 MB / 1.141 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02183/0.4989, allocations: 13.21 MB / 1.154 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007022/0.506, allocations: 2.941 MB / 1.157 GB, free: 2.844 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007577/0.5136, allocations: 3.861 MB / 1.16 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001851/0.5155, allocations: 320 kB / 1.161 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.5207, allocations: 1.638 MB / 1.162 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004262/0.525, allocations: 2.47 MB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006779/0.5318, allocations: 2.948 MB / 1.167 GB, free: 7.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01565/0.5475, allocations: 11.29 MB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.5475, allocations: 4 kB / 1.179 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.035e-06/0.5475, allocations: 0 / 1.179 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004565/0.548, allocations: 4 kB / 1.179 GB, free: 12.24 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.0163/0.5643, allocations: 5.138 MB / 1.184 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5644, allocations: 8.031 kB / 1.184 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.5744, allocations: 1.313 MB / 1.185 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008118/0.5826, allocations: 3.56 MB / 1.188 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.5829, allocations: 378.5 kB / 1.189 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002025/0.585, allocations: 0.5001 MB / 1.189 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.6064, allocations: 8.882 MB / 1.198 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.6067, allocations: 35.7 kB / 1.198 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/0.6079, allocations: 223.9 kB / 1.198 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002355/0.6103, allocations: 0.6343 MB / 1.199 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01637/0.6267, allocations: 7.01 MB / 1.206 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06321/0.6899, allocations: 40.42 MB / 1.245 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005015/0.695, allocations: 2.898 MB / 1.248 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6881/1.383, allocations: 2.654 MB / 1.25 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003134/1.384, allocations: 27.55 kB / 1.25 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.34e-05/1.384, allocations: 68.61 kB / 1.251 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.789e-06/1.384, allocations: 0 / 1.251 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.31/1.694, allocations: 77.5 MB / 1.326 GB, free: 121.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/1.694, allocations: 94.73 kB / 1.326 GB, free: 121.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/1.697, allocations: 2.359 MB / 1.329 GB, free: 119 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008979/1.698, allocations: 93.7 kB / 1.329 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.699, allocations: 2.342 MB / 1.331 GB, free: 116.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001439/1.7, allocations: 1.443 MB / 1.332 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005022/1.701, allocations: 339 kB / 1.333 GB, free: 114.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.142e-05/1.701, allocations: 301.1 kB / 1.333 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/1.704, allocations: 2.999 MB / 1.336 GB, free: 111.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/1.708, allocations: 3.843 MB / 1.34 GB, free: 107.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008327/1.717, allocations: 7.388 MB / 1.347 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/1.717, allocations: 4 kB / 1.347 GB, free: 99.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02612/1.743, allocations: 12.56 MB / 1.359 GB, free: 86.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/1.743, allocations: 14.38 kB / 1.359 GB, free: 86.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/1.743, allocations: 24 kB / 1.359 GB, free: 86.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02183/1.765, allocations: 6.02 MB / 1.365 GB, free: 80.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/1.767, allocations: 0.4896 MB / 1.366 GB, free: 80.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06709/1.834, allocations: 67.29 MB / 1.431 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/1.839, allocations: 215.8 kB / 1.431 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005224/1.839, allocations: 148 kB / 1.432 GB, free: 9.531 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.003621/1.843, allocations: 1.996 MB / 1.434 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/1.844, allocations: 399.3 kB / 1.434 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02858/1.872, allocations: 12.22 MB / 1.446 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/1.872, allocations: 40 kB / 1.446 GB, free: 10.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001533/1.872, allocations: 52 kB / 1.446 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-05/1.873, allocations: 23.86 kB / 1.446 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04317/1.916, allocations: 19.17 MB / 1.465 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/1.916, allocations: 13.67 kB / 1.465 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001818/1.918, allocations: 287.5 kB / 1.465 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02326/1.941, allocations: 5.579 MB / 1.47 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007604/1.942, allocations: 80 kB / 1.471 GB, free: 1.297 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08804/2.03, allocations: 64.92 MB / 1.534 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/2.03, allocations: 11.94 kB / 1.534 GB, free: 13.22 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03566/2.065, allocations: 15.61 MB / 1.549 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003232/2.069, allocations: 1.055 MB / 1.55 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/2.07, allocations: 87.98 kB / 1.55 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/2.073, allocations: 211.7 kB / 1.55 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/2.075, allocations: 402.2 kB / 1.551 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/2.075, allocations: 108 kB / 1.551 GB, free: 11.51 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002486/2.077, allocations: 1.556 MB / 1.552 GB, free: 9.957 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.51e-07/2.077, allocations: 0 / 1.552 GB, free: 9.957 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.006858/2.084, allocations: 1.867 MB / 1.554 GB, free: 8.09 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.0007238/2.085, allocations: 222.9 kB / 1.555 GB, free: 7.863 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02245/2.107, allocations: 12.18 MB / 1.566 GB, free: 11.38 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/2.108, allocations: 0 / 1.566 GB, free: 11.38 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0168/2.124, allocations: 8.392 MB / 1.575 GB, free: 2.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008568/2.133, allocations: 1.113 MB / 1.576 GB, free: 1.582 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/2.156, allocations: 14.86 MB / 1.59 GB, free: 2.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005268/2.162, allocations: 4.086 MB / 1.594 GB, free: 14.54 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002808/2.165, allocations: 0.6669 MB / 1.595 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/2.165, allocations: 175.4 kB / 1.595 GB, free: 13.7 MB / 1.17 GB Notification: Performance of SimCode: time 1.222e-06/2.165, allocations: 0 / 1.595 GB, free: 13.7 MB / 1.17 GB Notification: Performance of Templates: time 0.1835/2.349, allocations: 105.1 MB / 1.698 GB, free: 5.535 MB / 1.264 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)