Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00215/0.00215, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.47 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3185, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03369/0.3522, allocations: 30.77 MB / 1.098 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.3739, allocations: 13.59 MB / 1.112 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.3771, allocations: 147.2 kB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.008386/0.3856, allocations: 3.195 MB / 1.115 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008188/0.3938, allocations: 2.657 MB / 1.117 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005621/0.3994, allocations: 2.016 MB / 1.119 GB, free: 5.883 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01004/0.4095, allocations: 7.61 MB / 1.127 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01014/0.4197, allocations: 8.291 MB / 1.135 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005842/0.4256, allocations: 3.4 MB / 1.138 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005712/0.4313, allocations: 3.387 MB / 1.141 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.4328, allocations: 0.5938 MB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.4364, allocations: 1.494 MB / 1.144 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002742/0.4392, allocations: 2.366 MB / 1.146 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004202/0.4434, allocations: 2.882 MB / 1.149 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009385/0.4528, allocations: 9.387 MB / 1.158 GB, free: 14.26 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4528, allocations: 8 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4528, allocations: 0 / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002109/0.4531, allocations: 0 / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01077/0.4638, allocations: 5.145 MB / 1.163 GB, free: 9.027 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4639, allocations: 8.031 kB / 1.163 GB, free: 9.02 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005781/0.4697, allocations: 0.9942 MB / 1.164 GB, free: 8.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005807/0.4755, allocations: 2.896 MB / 1.167 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.4758, allocations: 308.9 kB / 1.167 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009532/0.4767, allocations: 424 kB / 1.167 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01181/0.4886, allocations: 6.795 MB / 1.174 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.4887, allocations: 19.78 kB / 1.174 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004465/0.4891, allocations: 184 kB / 1.174 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008927/0.49, allocations: 368 kB / 1.175 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009079/0.4991, allocations: 5.118 MB / 1.18 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/0.5366, allocations: 30.74 MB / 1.21 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.5387, allocations: 1.395 MB / 1.211 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.5404, allocations: 1.328 MB / 1.212 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.5405, allocations: 13.31 kB / 1.212 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.5405, allocations: 55.81 kB / 1.212 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 2.896e-06/0.5405, allocations: 0 / 1.212 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09001/0.6305, allocations: 23.07 MB / 1.235 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.6306, allocations: 81.41 kB / 1.235 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/0.6337, allocations: 2.058 MB / 1.237 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.634, allocations: 57.7 kB / 1.237 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.6355, allocations: 2.006 MB / 1.239 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007281/0.6363, allocations: 0.6777 MB / 1.24 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007269/0.637, allocations: 412.2 kB / 1.24 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6371, allocations: 305.1 kB / 1.24 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/0.6393, allocations: 1.426 MB / 1.242 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.6419, allocations: 2.013 MB / 1.244 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5615/1.203, allocations: 3.691 MB / 1.247 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/1.203, allocations: 6.406 kB / 1.247 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01165/1.215, allocations: 5.662 MB / 1.253 GB, free: 162 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/1.215, allocations: 13.66 kB / 1.253 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/1.215, allocations: 17.66 kB / 1.253 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006131/1.221, allocations: 2.103 MB / 1.255 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.223, allocations: 377.2 kB / 1.255 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03475/1.258, allocations: 38.46 MB / 1.293 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.26, allocations: 126.8 kB / 1.293 GB, free: 130.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/1.261, allocations: 88.47 kB / 1.293 GB, free: 130.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002423/1.263, allocations: 1.508 MB / 1.294 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/1.264, allocations: 289.2 kB / 1.295 GB, free: 130.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009895/1.274, allocations: 5.222 MB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/1.274, allocations: 19.03 kB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-05/1.274, allocations: 17.91 kB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/1.274, allocations: 10.55 kB / 1.3 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0165/1.29, allocations: 9.669 MB / 1.309 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/1.29, allocations: 6.875 kB / 1.309 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/1.291, allocations: 222.1 kB / 1.31 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005805/1.297, allocations: 1.858 MB / 1.311 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/1.297, allocations: 37.56 kB / 1.311 GB, free: 123.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0281/1.325, allocations: 37.47 MB / 1.348 GB, free: 90.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.325, allocations: 14.3 kB / 1.348 GB, free: 90.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008144/1.333, allocations: 4.908 MB / 1.353 GB, free: 87.17 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.335, allocations: 0.6082 MB / 1.353 GB, free: 86.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/1.336, allocations: 50.17 kB / 1.353 GB, free: 86.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.337, allocations: 127.9 kB / 1.354 GB, free: 86.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007125/1.338, allocations: 190.4 kB / 1.354 GB, free: 86.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.338, allocations: 58.28 kB / 1.354 GB, free: 86.49 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00168/1.34, allocations: 1.375 MB / 1.355 GB, free: 85.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.34, allocations: 0 / 1.355 GB, free: 85.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00348/1.343, allocations: 1.05 MB / 1.356 GB, free: 85.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002812/1.343, allocations: 171.4 kB / 1.356 GB, free: 85.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009873/1.353, allocations: 7.217 MB / 1.363 GB, free: 77.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.353, allocations: 4.812 kB / 1.363 GB, free: 77.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005331/1.359, allocations: 4.398 MB / 1.368 GB, free: 73.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/1.362, allocations: 0.9984 MB / 1.369 GB, free: 72.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.374, allocations: 8.14 MB / 1.377 GB, free: 64.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/1.377, allocations: 3.123 MB / 1.38 GB, free: 61.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001771/1.379, allocations: 0.5159 MB / 1.38 GB, free: 60.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/1.379, allocations: 147.4 kB / 1.38 GB, free: 60.44 MB / 0.9981 GB Notification: Performance of SimCode: time 1.813e-06/1.379, allocations: 0 / 1.38 GB, free: 60.44 MB / 0.9981 GB Notification: Performance of Templates: time 0.07852/1.457, allocations: 60 MB / 1.439 GB, free: 1.324 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)