Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.00175, allocations: 108 kB / 15.61 MB, free: 152 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.00216/0.002159, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.658/1.658, allocations: 251.7 MB / 0.5092 GB, free: 3.098 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 80.16 kB / 0.6223 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6472/0.6489, allocations: 104.7 MB / 0.7245 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03686/0.6858, allocations: 32.5 MB / 0.7563 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.7049, allocations: 10.38 MB / 0.7664 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004438/0.7093, allocations: 155.2 kB / 0.7665 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.7199, allocations: 3.708 MB / 0.7702 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006825/0.7268, allocations: 1.846 MB / 0.772 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007206/0.734, allocations: 2.137 MB / 0.7741 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01276/0.7468, allocations: 7.322 MB / 0.7812 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01933/0.7662, allocations: 9.484 MB / 0.7905 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007621/0.7738, allocations: 3.166 MB / 0.7936 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007589/0.7815, allocations: 3.477 MB / 0.797 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002483/0.784, allocations: 0.6484 MB / 0.7976 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.7898, allocations: 1.759 MB / 0.7993 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005346/0.7952, allocations: 2.557 MB / 0.8018 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008678/0.8039, allocations: 2.902 MB / 0.8046 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/0.8206, allocations: 10.05 MB / 0.8144 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.8206, allocations: 0 / 0.8144 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.34e-06/0.8206, allocations: 0 / 0.8144 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0004552/0.8211, allocations: 3.938 kB / 0.8145 GB, free: 0.582 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01984/0.841, allocations: 4.994 MB / 0.8193 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/0.841, allocations: 12.03 kB / 0.8193 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006731/0.8478, allocations: 0.9512 MB / 0.8203 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007534/0.8554, allocations: 2.859 MB / 0.8231 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.8557, allocations: 345.7 kB / 0.8234 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.8572, allocations: 464.2 kB / 0.8238 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.8753, allocations: 7.667 MB / 0.8313 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/0.8756, allocations: 23.72 kB / 0.8313 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005929/0.8762, allocations: 204 kB / 0.8315 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00038/0.8765, allocations: 313 kB / 0.8318 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.8889, allocations: 5.714 MB / 0.8374 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.9411, allocations: 35.08 MB / 0.8717 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003544/0.9448, allocations: 2.167 MB / 0.8738 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.9466, allocations: 1.261 MB / 0.875 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.63e-05/0.9467, allocations: 17.3 kB / 0.875 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.9467, allocations: 43.88 kB / 0.8751 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=133): time 8.145e-06/0.9467, allocations: 0 / 0.8751 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of matching and sorting (n=136): time 0.01518/0.9619, allocations: 7.1 MB / 0.882 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.9621, allocations: 72.72 kB / 0.8821 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.9648, allocations: 1.48 MB / 0.8835 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002297/0.965, allocations: 45.7 kB / 0.8836 GB, free: 5.617 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.9666, allocations: 2.008 MB / 0.8855 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/0.9671, allocations: 485.1 kB / 0.886 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/0.9677, allocations: 355.1 kB / 0.8863 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9679, allocations: 305.1 kB / 0.8866 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.9693, allocations: 0.9096 MB / 0.8875 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.9712, allocations: 1.589 MB / 0.8891 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003882/0.9751, allocations: 2.741 MB / 0.8917 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.9752, allocations: 8 kB / 0.8918 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00756/0.9827, allocations: 3.519 MB / 0.8952 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.126e-05/0.9828, allocations: 16.25 kB / 0.8952 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/0.9829, allocations: 24 kB / 0.8952 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/0.9856, allocations: 0.9115 MB / 0.8961 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.9871, allocations: 347.4 kB / 0.8964 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5811/1.568, allocations: 23.11 MB / 0.919 GB, free: 173.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/1.57, allocations: 100.5 kB / 0.9191 GB, free: 173.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/1.571, allocations: 89.88 kB / 0.9192 GB, free: 173.1 MB / 0.7325 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.004226/1.575, allocations: 1.615 MB / 0.9208 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007161/1.576, allocations: 203.6 kB / 0.921 GB, free: 173 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006866/1.583, allocations: 2.991 MB / 0.9239 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.583, allocations: 17.34 kB / 0.9239 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-05/1.583, allocations: 9.844 kB / 0.9239 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.583, allocations: 6.938 kB / 0.9239 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/1.597, allocations: 7.348 MB / 0.9311 GB, free: 169.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.597, allocations: 5.203 kB / 0.9311 GB, free: 169.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/1.598, allocations: 176.9 kB / 0.9313 GB, free: 169.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/1.601, allocations: 0.8342 MB / 0.9321 GB, free: 169 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.601, allocations: 30.91 kB / 0.9321 GB, free: 169 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.616, allocations: 21.95 MB / 0.9536 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/1.616, allocations: 3.906 kB / 0.9536 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/1.622, allocations: 3.028 MB / 0.9565 GB, free: 148.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009215/1.623, allocations: 455.8 kB / 0.9569 GB, free: 148.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.623, allocations: 34.52 kB / 0.957 GB, free: 148.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007942/1.624, allocations: 70.2 kB / 0.957 GB, free: 148.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/1.624, allocations: 133.7 kB / 0.9572 GB, free: 148.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/1.624, allocations: 33.91 kB / 0.9572 GB, free: 148.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00122/1.625, allocations: 0.9736 MB / 0.9582 GB, free: 148.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.625, allocations: 3.906 kB / 0.9582 GB, free: 148.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004228/1.629, allocations: 0.7807 MB / 0.9589 GB, free: 148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003847/1.63, allocations: 148.4 kB / 0.9591 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006952/1.637, allocations: 4.65 MB / 0.9636 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.637, allocations: 0 / 0.9636 GB, free: 145.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003418/1.64, allocations: 2.736 MB / 0.9663 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/1.644, allocations: 0.733 MB / 0.967 GB, free: 142.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.658, allocations: 7.196 MB / 0.974 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003394/1.662, allocations: 3.117 MB / 0.9771 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001479/1.663, allocations: 454 kB / 0.9775 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/1.664, allocations: 115.4 kB / 0.9776 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.523e-06/1.664, allocations: 0 / 0.9776 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.06002/1.724, allocations: 35.73 MB / 1.013 GB, free: 96.54 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)