Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002413/0.002413, allocations: 193 kB / 16.13 MB, free: 6.664 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 69.17 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3507, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0169/0.3676, allocations: 13.99 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01605/0.3837, allocations: 9.38 MB / 1.09 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3859, allocations: 55.62 kB / 1.09 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004825/0.3908, allocations: 1.564 MB / 1.092 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.3963, allocations: 1.392 MB / 1.093 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.3987, allocations: 0.694 MB / 1.094 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004487/0.4032, allocations: 3.175 MB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.4058, allocations: 1.36 MB / 1.098 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001843/0.4077, allocations: 0.9299 MB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.4098, allocations: 1.148 MB / 1.1 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.4104, allocations: 100 kB / 1.101 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.4127, allocations: 0.8851 MB / 1.101 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0009671/0.4137, allocations: 0.5529 MB / 1.102 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.4155, allocations: 0.8704 MB / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00431/0.4198, allocations: 2.718 MB / 1.105 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4199, allocations: 0 / 1.105 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.158e-06/0.4199, allocations: 4 kB / 1.105 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001209/0.42, allocations: 4 kB / 1.105 GB, free: 3.969 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00599/0.426, allocations: 2.131 MB / 1.107 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.4261, allocations: 12.03 kB / 1.108 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/0.4378, allocations: 2.081 MB / 1.11 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.4413, allocations: 1.197 MB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.4415, allocations: 94.67 kB / 1.111 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006676/0.4421, allocations: 128 kB / 1.111 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008082/0.4502, allocations: 2.674 MB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.022e-05/0.4504, allocations: 7.938 kB / 1.114 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.4508, allocations: 59.92 kB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006931/0.4515, allocations: 182.1 kB / 1.114 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008094/0.4596, allocations: 2.795 MB / 1.117 GB, free: 8.336 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.4781, allocations: 10.51 MB / 1.127 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006817/0.485, allocations: 2.535 MB / 1.129 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/0.4882, allocations: 1.284 MB / 1.13 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.4883, allocations: 13 kB / 1.131 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4884, allocations: 47.5 kB / 1.131 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 3.577e-06/0.4884, allocations: 0 / 1.131 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.04776/0.5361, allocations: 13.35 MB / 1.144 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.5363, allocations: 68.72 kB / 1.144 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.5383, allocations: 1.117 MB / 1.145 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.5385, allocations: 49.7 kB / 1.145 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/0.5392, allocations: 0.7156 MB / 1.145 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006062/0.5398, allocations: 449.4 kB / 1.146 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006319/0.5404, allocations: 263.4 kB / 1.146 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002103/0.5407, allocations: 361.9 kB / 1.147 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003265/0.5439, allocations: 1.339 MB / 1.148 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.5474, allocations: 1.612 MB / 1.149 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006847/0.5543, allocations: 2.994 MB / 1.152 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.5543, allocations: 4 kB / 1.152 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01153/0.5658, allocations: 4.434 MB / 1.157 GB, free: 14.03 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.5659, allocations: 8 kB / 1.157 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.5659, allocations: 8.875 kB / 1.157 GB, free: 14.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/0.5715, allocations: 1.431 MB / 1.158 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/0.5736, allocations: 431.2 kB / 1.158 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02786/0.6015, allocations: 24.56 MB / 1.182 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003144/0.6047, allocations: 303.5 kB / 1.183 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004457/0.6051, allocations: 67.95 kB / 1.183 GB, free: 1.445 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001365/0.6065, allocations: 434 kB / 1.183 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/0.6071, allocations: 166.2 kB / 1.183 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.6186, allocations: 4.453 MB / 1.188 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/0.6186, allocations: 19.94 kB / 1.188 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.838e-05/0.6187, allocations: 12 kB / 1.188 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.6187, allocations: 11.97 kB / 1.188 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.634, allocations: 6.778 MB / 1.194 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.634, allocations: 4 kB / 1.194 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.6357, allocations: 379.7 kB / 1.195 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.6406, allocations: 1.303 MB / 1.196 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001825/0.6408, allocations: 43.97 kB / 1.196 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02361/0.6644, allocations: 23.5 MB / 1.219 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.6645, allocations: 4 kB / 1.219 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.6753, allocations: 4.204 MB / 1.223 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.6764, allocations: 454.9 kB / 1.224 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/0.6768, allocations: 28.12 kB / 1.224 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/0.6788, allocations: 315.5 kB / 1.224 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.6793, allocations: 124.7 kB / 1.224 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.6795, allocations: 47.97 kB / 1.224 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001246/0.6807, allocations: 0.7526 MB / 1.225 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6807, allocations: 4 kB / 1.225 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002388/0.6831, allocations: 0.5703 MB / 1.225 GB, free: 3.754 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003351/0.6835, allocations: 143.1 kB / 1.225 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01125/0.6947, allocations: 5.119 MB / 1.23 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.6948, allocations: 4.062 kB / 1.23 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007153/0.702, allocations: 3.483 MB / 1.234 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/0.7052, allocations: 0.5069 MB / 1.234 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009074/0.7143, allocations: 4.663 MB / 1.239 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/0.7158, allocations: 1.473 MB / 1.24 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001911/0.7177, allocations: 425.6 kB / 1.241 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.7182, allocations: 111.4 kB / 1.241 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/0.7182, allocations: 0 / 1.241 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of Templates: time 0.6267/1.345, allocations: 37.72 MB / 1.278 GB, free: 157.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)