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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000849/0.000849, allocations: 91.77 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.005684/0.005684, allocations: 170.8 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.397/1.397, 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.807/2.807, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004356, allocations: 14.12 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4873/0.4878, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008036/0.4959, allocations: 6.389 MB / 1.08 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005431/0.5013, allocations: 3.028 MB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00055/0.5019, allocations: 19.88 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.5024, allocations: 138.8 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.5035, allocations: 485.6 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.5046, allocations: 399.3 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.5064, allocations: 1.591 MB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.5082, allocations: 1.027 MB / 1.087 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.509, allocations: 386.3 kB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008409/0.5098, allocations: 0.494 MB / 1.088 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.532e-05/0.5099, allocations: 32 kB / 1.088 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008225/0.5107, allocations: 447.1 kB / 1.088 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.511, allocations: 271.2 kB / 1.088 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003998/0.5114, allocations: 435.4 kB / 1.089 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.5126, allocations: 1.187 MB / 1.09 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5126, allocations: 0 / 1.09 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5126, allocations: 0 / 1.09 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.5126, allocations: 0 / 1.09 GB, free: 7.172 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001784/0.5144, allocations: 1.005 MB / 1.091 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5144, allocations: 8.031 kB / 1.091 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.5159, allocations: 243.5 kB / 1.091 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008351/0.5168, allocations: 0.5531 MB / 1.092 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.5168, allocations: 49.67 kB / 1.092 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.517, allocations: 64.36 kB / 1.092 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.5186, allocations: 1.089 MB / 1.093 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.5186, allocations: 7.922 kB / 1.093 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.65e-05/0.5187, allocations: 35.98 kB / 1.093 GB, free: 3.926 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/0.5189, allocations: 85.27 kB / 1.093 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.5201, allocations: 0.7504 MB / 1.094 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00554/0.5256, allocations: 5.901 MB / 1.1 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.5267, allocations: 0.5555 MB / 1.1 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.5272, allocations: 326 kB / 1.1 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.5273, allocations: 4.438 kB / 1.1 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5273, allocations: 47 kB / 1.1 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 4.669e-06/0.5273, allocations: 4 kB / 1.1 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003809/0.5311, allocations: 2.002 MB / 1.102 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.5312, allocations: 55.84 kB / 1.103 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.5318, allocations: 0.5626 MB / 1.103 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.5319, allocations: 37.7 kB / 1.103 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.5322, allocations: 414.9 kB / 1.103 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5323, allocations: 173.5 kB / 1.104 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.5324, allocations: 57.69 kB / 1.104 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5326, allocations: 378.7 kB / 1.104 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/0.533, allocations: 277.9 kB / 1.104 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.5338, allocations: 496.9 kB / 1.105 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.5348, allocations: 0.8054 MB / 1.106 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5348, allocations: 4 kB / 1.106 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001839/0.5366, allocations: 1.083 MB / 1.107 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.5367, allocations: 11.94 kB / 1.107 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5367, allocations: 4 kB / 1.107 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008436/0.5375, allocations: 291.5 kB / 1.107 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.538, allocations: 123.8 kB / 1.107 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.5445, allocations: 6.599 MB / 1.114 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.5452, allocations: 40.03 kB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.5453, allocations: 31.98 kB / 1.114 GB, free: 13.5 MB / 0.8731 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000488/0.5458, allocations: 255.3 kB / 1.114 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5459, allocations: 75.09 kB / 1.114 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.5475, allocations: 0.9004 MB / 1.115 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.5475, allocations: 4 kB / 1.115 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5475, allocations: 4 kB / 1.115 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.5475, allocations: 0 / 1.115 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.5502, allocations: 1.717 MB / 1.116 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5502, allocations: 4.125 kB / 1.116 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.5505, allocations: 71.88 kB / 1.117 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007873/0.5512, allocations: 263.4 kB / 1.117 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.5513, allocations: 20.05 kB / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/0.558, allocations: 6.587 MB / 1.123 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.558, allocations: 0 / 1.123 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.5598, allocations: 0.9873 MB / 1.124 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.5601, allocations: 192.2 kB / 1.124 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.5601, allocations: 15.94 kB / 1.124 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.5605, allocations: 27.95 kB / 1.124 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5606, allocations: 40.09 kB / 1.124 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.5607, allocations: 12 kB / 1.124 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004662/0.5611, allocations: 395.1 kB / 1.125 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5611, allocations: 4 kB / 1.125 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008091/0.562, allocations: 224 kB / 1.125 GB, free: 1.016 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/0.5622, allocations: 115.2 kB / 1.125 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001985/0.5642, allocations: 1.271 MB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.5642, allocations: 4 kB / 1.126 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.5654, allocations: 0.8932 MB / 1.127 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5666, allocations: 203.2 kB / 1.127 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.5693, allocations: 1.669 MB / 1.129 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007839/0.5701, allocations: 1.016 MB / 1.13 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.5705, allocations: 118 kB / 1.13 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.5706, allocations: 43.44 kB / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of SimCode: time 7.91e-07/0.5706, allocations: 0 / 1.13 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of Templates: time 0.01991/0.5905, allocations: 10.63 MB / 1.141 GB, free: 0.9844 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)