Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001346, allocations: 102.3 kB / 16.35 MB, free: 6.34 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.001519/0.001519, allocations: 189.3 kB / 17.29 MB, free: 5.918 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.424/1.424, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.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.001508/0.001508, allocations: 59.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2471, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.4038/0.651, allocations: 14.65 MB / 0.7991 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.6646, allocations: 10.44 MB / 0.8093 GB, free: 35.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.6664, allocations: 57.5 kB / 0.8093 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004395/0.6708, allocations: 1.682 MB / 0.811 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00622/0.6771, allocations: 1.807 MB / 0.8127 GB, free: 33.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.6794, allocations: 0.7533 MB / 0.8135 GB, free: 32.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005097/0.6845, allocations: 2.759 MB / 0.8162 GB, free: 31.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.6869, allocations: 1.418 MB / 0.8176 GB, free: 31.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.6896, allocations: 1.503 MB / 0.819 GB, free: 30.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.6917, allocations: 1.162 MB / 0.8202 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0007076/0.6925, allocations: 169.2 kB / 0.8203 GB, free: 30.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002268/0.6947, allocations: 0.7869 MB / 0.8211 GB, free: 29.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007808/0.6955, allocations: 0.6022 MB / 0.8217 GB, free: 29.61 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.697, allocations: 0.9604 MB / 0.8226 GB, free: 29.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.7011, allocations: 2.755 MB / 0.8253 GB, free: 28.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7012, allocations: 0.9688 kB / 0.8253 GB, free: 28.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7012, allocations: 1.875 kB / 0.8253 GB, free: 28.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.716e-05/0.7012, allocations: 0 / 0.8253 GB, free: 28.06 MB / 0.6544 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.004753/0.706, allocations: 2.175 MB / 0.8274 GB, free: 26.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.706, allocations: 9.344 kB / 0.8274 GB, free: 26.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01222/0.7183, allocations: 2.119 MB / 0.8295 GB, free: 26.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.7216, allocations: 1.204 MB / 0.8307 GB, free: 25.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.7217, allocations: 84.25 kB / 0.8308 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.7222, allocations: 120.6 kB / 0.8309 GB, free: 25.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006887/0.7291, allocations: 2.68 MB / 0.8335 GB, free: 24.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.7292, allocations: 12.02 kB / 0.8335 GB, free: 24.69 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.7294, allocations: 53.59 kB / 0.8336 GB, free: 24.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006793/0.7301, allocations: 195.7 kB / 0.8338 GB, free: 24.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008081/0.7381, allocations: 2.792 MB / 0.8365 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.7536, allocations: 10.46 MB / 0.8467 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.7599, allocations: 2.341 MB / 0.849 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003003/0.763, allocations: 1.277 MB / 0.8502 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.102e-05/0.7631, allocations: 10.28 kB / 0.8502 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.7631, allocations: 47.97 kB / 0.8503 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/0.7631, allocations: 0 / 0.8503 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=153): time 0.06008/0.8232, allocations: 16.48 MB / 0.8664 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.8233, allocations: 68.25 kB / 0.8664 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.825, allocations: 1.179 MB / 0.8676 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003789/0.8254, allocations: 49.7 kB / 0.8676 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.8258, allocations: 0.7359 MB / 0.8684 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004722/0.8263, allocations: 0.5198 MB / 0.8689 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005503/0.8268, allocations: 291.5 kB / 0.8691 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.8269, allocations: 309.1 kB / 0.8694 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.83, allocations: 1.503 MB / 0.8709 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.8331, allocations: 1.784 MB / 0.8726 GB, free: 15.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007176/0.8403, allocations: 3.369 MB / 0.8759 GB, free: 12.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.8404, allocations: 8 kB / 0.8759 GB, free: 12.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01384/0.8542, allocations: 5.272 MB / 0.8811 GB, free: 6.754 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.8543, allocations: 8 kB / 0.8811 GB, free: 6.746 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.8543, allocations: 11.94 kB / 0.8811 GB, free: 6.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007134/0.8614, allocations: 1.871 MB / 0.8829 GB, free: 4.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.8635, allocations: 423.2 kB / 0.8833 GB, free: 4.426 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03028/0.8938, allocations: 24.14 MB / 0.9069 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.8971, allocations: 299.5 kB / 0.9072 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.8973, allocations: 71.95 kB / 0.9073 GB, free: 10.82 MB / 0.7012 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001076/0.8984, allocations: 465.5 kB / 0.9077 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/0.8989, allocations: 173.9 kB / 0.9079 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.9126, allocations: 5.322 MB / 0.9131 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.9127, allocations: 16 kB / 0.9131 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.59e-05/0.9127, allocations: 16 kB / 0.9131 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.9127, allocations: 7.969 kB / 0.9131 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.9306, allocations: 7.432 MB / 0.9204 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.9306, allocations: 352 / 0.9204 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.9324, allocations: 355.4 kB / 0.9207 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006301/0.9387, allocations: 1.709 MB / 0.9224 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.9389, allocations: 39.97 kB / 0.9224 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0285/0.9674, allocations: 23.31 MB / 0.9452 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9675, allocations: 0 / 0.9452 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01323/0.9807, allocations: 4.895 MB / 0.95 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.9825, allocations: 498.6 kB / 0.9504 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/0.9829, allocations: 31.98 kB / 0.9505 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/0.9852, allocations: 311.5 kB / 0.9508 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007543/0.986, allocations: 160.9 kB / 0.9509 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/0.9861, allocations: 51.97 kB / 0.951 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001351/0.9875, allocations: 0.7938 MB / 0.9517 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9875, allocations: 0 / 0.9517 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002874/0.9904, allocations: 0.6523 MB / 0.9524 GB, free: 11.23 MB / 0.7481 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004145/0.9908, allocations: 150.7 kB / 0.9525 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.003, allocations: 5.143 MB / 0.9575 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/1.003, allocations: 0 / 0.9575 GB, free: 5.824 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.007976/1.011, allocations: 3.363 MB / 0.9608 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/1.014, allocations: 0.5554 MB / 0.9614 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/1.024, allocations: 4.293 MB / 0.9656 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/1.025, allocations: 1.561 MB / 0.9671 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001496/1.027, allocations: 386.4 kB / 0.9675 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/1.027, allocations: 107.4 kB / 0.9676 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of SimCode: time 1.653e-06/1.027, allocations: 0 / 0.9676 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of Templates: time 0.0735/1.101, allocations: 44.88 MB / 1.011 GB, free: 15.13 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)