Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001245/0.001245, 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.00137/0.00137, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.474/1.474, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 66.33 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3382, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01677/0.355, allocations: 13.98 MB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.3686, allocations: 9.373 MB / 1.09 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3704, allocations: 55.62 kB / 1.09 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003887/0.3743, allocations: 1.568 MB / 1.092 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.3783, allocations: 1.396 MB / 1.093 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00174/0.3801, allocations: 0.6936 MB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.3837, allocations: 3.175 MB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.3856, allocations: 1.356 MB / 1.098 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.3869, allocations: 0.9338 MB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.389, allocations: 1.136 MB / 1.1 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.3893, allocations: 100 kB / 1.1 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.3913, allocations: 0.889 MB / 1.101 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005964/0.3919, allocations: 0.5568 MB / 1.102 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008343/0.3927, allocations: 0.8704 MB / 1.103 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.3954, allocations: 2.725 MB / 1.105 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3954, allocations: 0 / 1.105 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.71e-07/0.3954, allocations: 0 / 1.105 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.3954, allocations: 4 kB / 1.105 GB, free: 3.949 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.003726/0.3992, allocations: 2.135 MB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3992, allocations: 12.03 kB / 1.108 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.4099, allocations: 2.081 MB / 1.11 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.4125, allocations: 1.193 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.4126, allocations: 90.67 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.4128, allocations: 124 kB / 1.111 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.4182, allocations: 2.682 MB / 1.114 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.4183, allocations: 3.938 kB / 1.114 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.4184, allocations: 55.98 kB / 1.114 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005754/0.419, allocations: 178.1 kB / 1.114 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006939/0.426, allocations: 2.799 MB / 1.117 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.4414, allocations: 10.52 MB / 1.127 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/0.4478, allocations: 2.528 MB / 1.129 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.4507, allocations: 1.28 MB / 1.13 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.4508, allocations: 9 kB / 1.13 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.4509, allocations: 51.5 kB / 1.131 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.4509, allocations: 0 / 1.131 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=131): time 0.04319/0.4941, allocations: 13.35 MB / 1.144 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.4942, allocations: 64.72 kB / 1.144 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.4959, allocations: 1.125 MB / 1.145 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.4961, allocations: 49.7 kB / 1.145 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.4966, allocations: 0.7156 MB / 1.145 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.4971, allocations: 449.4 kB / 1.146 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005362/0.4976, allocations: 263.4 kB / 1.146 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4978, allocations: 357.9 kB / 1.147 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/0.5009, allocations: 1.343 MB / 1.148 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.5041, allocations: 1.612 MB / 1.149 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/0.5105, allocations: 2.987 MB / 1.152 GB, free: 2.52 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.5105, allocations: 4 kB / 1.152 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01119/0.5217, allocations: 4.443 MB / 1.157 GB, free: 14.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.5218, allocations: 8 kB / 1.157 GB, free: 14.01 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.5218, allocations: 8 kB / 1.157 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005274/0.5271, allocations: 1.431 MB / 1.158 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/0.5291, allocations: 443.2 kB / 1.158 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02551/0.5546, allocations: 24.55 MB / 1.182 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.5574, allocations: 307.5 kB / 1.183 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003295/0.5577, allocations: 64.03 kB / 1.183 GB, free: 1.43 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.00127/0.559, allocations: 442 kB / 1.183 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/0.5596, allocations: 158.1 kB / 1.183 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/0.5714, allocations: 4.453 MB / 1.188 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.5715, allocations: 15.98 kB / 1.188 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.396e-05/0.5716, allocations: 12 kB / 1.188 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.5716, allocations: 7.969 kB / 1.188 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.5871, allocations: 6.785 MB / 1.194 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.5872, allocations: 4.344 kB / 1.194 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/0.5889, allocations: 375.4 kB / 1.195 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004936/0.5939, allocations: 1.31 MB / 1.196 GB, free: 3.617 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.5941, allocations: 43.95 kB / 1.196 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/0.6184, allocations: 23.5 MB / 1.219 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6185, allocations: 8.156 kB / 1.219 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.6295, allocations: 4.204 MB / 1.223 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009917/0.6305, allocations: 451 kB / 1.224 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003765/0.6309, allocations: 31.94 kB / 1.224 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.633, allocations: 311.5 kB / 1.224 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/0.6334, allocations: 120.7 kB / 1.224 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.6336, allocations: 55.95 kB / 1.224 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00124/0.6348, allocations: 0.7526 MB / 1.225 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6349, allocations: 480 / 1.225 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002388/0.6372, allocations: 0.5664 MB / 1.225 GB, free: 3.742 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.0003344/0.6376, allocations: 139.8 kB / 1.225 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.6487, allocations: 5.123 MB / 1.23 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.6487, allocations: 0 / 1.23 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006972/0.6557, allocations: 3.491 MB / 1.234 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/0.6588, allocations: 0.513 MB / 1.234 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6695, allocations: 4.649 MB / 1.239 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.6712, allocations: 1.477 MB / 1.24 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00205/0.6733, allocations: 425.6 kB / 1.241 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.6738, allocations: 111.4 kB / 1.241 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/0.6738, allocations: 4 kB / 1.241 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of Templates: time 0.6281/1.302, allocations: 37.73 MB / 1.278 GB, free: 157.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)