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.001268/0.001269, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001304, allocations: 190.9 kB / 16.14 MB, free: 6.703 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.39/1.39, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.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.706/1.706, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001263/0.001263, allocations: 66.67 kB / 0.6708 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2206, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01515/0.2358, allocations: 14.57 MB / 0.7969 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01415/0.25, allocations: 10.44 MB / 0.8071 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.2515, allocations: 55.62 kB / 0.8072 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.2555, allocations: 1.572 MB / 0.8087 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.2604, allocations: 1.598 MB / 0.8103 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.2621, allocations: 0.6967 MB / 0.8109 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00369/0.2658, allocations: 3.401 MB / 0.8143 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.2677, allocations: 1.364 MB / 0.8156 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.2697, allocations: 1.387 MB / 0.8169 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.2713, allocations: 1.171 MB / 0.8181 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.2715, allocations: 96 kB / 0.8182 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2731, allocations: 0.8851 MB / 0.819 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005177/0.2736, allocations: 0.549 MB / 0.8196 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008824/0.2745, allocations: 0.8936 MB / 0.8205 GB, free: 7.145 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.2772, allocations: 2.725 MB / 0.8231 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2772, allocations: 4 kB / 0.8231 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2772, allocations: 0 / 0.8231 GB, free: 4.406 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.131e-05/0.2772, allocations: 4 kB / 0.8231 GB, free: 4.402 MB / 0.6387 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.003993/0.2812, allocations: 2.162 MB / 0.8252 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2813, allocations: 8.031 kB / 0.8252 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.2921, allocations: 2.112 MB / 0.8273 GB, free: 60 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.2949, allocations: 1.21 MB / 0.8285 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.295, allocations: 90.69 kB / 0.8286 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.2952, allocations: 132 kB / 0.8287 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.3005, allocations: 2.662 MB / 0.8313 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.3006, allocations: 7.938 kB / 0.8313 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.3007, allocations: 63.95 kB / 0.8314 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000569/0.3013, allocations: 190.1 kB / 0.8316 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006853/0.3082, allocations: 2.791 MB / 0.8343 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.3222, allocations: 10.49 MB / 0.8445 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006182/0.3284, allocations: 2.352 MB / 0.8468 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.3314, allocations: 1.272 MB / 0.8481 GB, free: 9.973 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/0.3315, allocations: 17 kB / 0.8481 GB, free: 9.957 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3315, allocations: 39.56 kB / 0.8481 GB, free: 9.91 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/0.3315, allocations: 0 / 0.8481 GB, free: 9.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05695/0.3885, allocations: 16.49 MB / 0.8642 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.3886, allocations: 68.72 kB / 0.8643 GB, free: 9.176 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.3901, allocations: 1.172 MB / 0.8654 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.3903, allocations: 49.7 kB / 0.8655 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004813/0.3907, allocations: 0.7397 MB / 0.8662 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.3912, allocations: 0.5199 MB / 0.8667 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005453/0.3918, allocations: 291.4 kB / 0.867 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.3919, allocations: 305.1 kB / 0.8673 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003253/0.3951, allocations: 1.507 MB / 0.8687 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003357/0.3985, allocations: 1.78 MB / 0.8705 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00659/0.4051, allocations: 3.369 MB / 0.8738 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.4051, allocations: 4 kB / 0.8738 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01265/0.4178, allocations: 5.272 MB / 0.8789 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.4178, allocations: 8 kB / 0.8789 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4178, allocations: 8.844 kB / 0.8789 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006894/0.4247, allocations: 1.877 MB / 0.8808 GB, free: 7.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.4266, allocations: 423.2 kB / 0.8812 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02642/0.453, allocations: 22.19 MB / 0.9028 GB, free: 340 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.4558, allocations: 311.5 kB / 0.9031 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.4561, allocations: 67.95 kB / 0.9032 GB, free: 15.96 MB / 0.7325 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.0008875/0.457, allocations: 468.9 kB / 0.9037 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000301/0.4573, allocations: 177.8 kB / 0.9038 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.4701, allocations: 5.324 MB / 0.909 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.4701, allocations: 12 kB / 0.909 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.556e-05/0.4702, allocations: 20 kB / 0.9091 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.4702, allocations: 7.969 kB / 0.9091 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/0.4864, allocations: 7.414 MB / 0.9163 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.4864, allocations: 4 kB / 0.9163 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.488, allocations: 355.7 kB / 0.9166 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005979/0.494, allocations: 1.706 MB / 0.9183 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.4942, allocations: 47.91 kB / 0.9184 GB, free: 248 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4678/0.962, allocations: 21.34 MB / 0.9392 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.962, allocations: 4.062 kB / 0.9392 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.9742, allocations: 4.887 MB / 0.944 GB, free: 115.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009773/0.9752, allocations: 500 kB / 0.9445 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000417/0.9757, allocations: 30.16 kB / 0.9445 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002223/0.9779, allocations: 326.6 kB / 0.9448 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006461/0.9786, allocations: 148.3 kB / 0.9449 GB, free: 115 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000181/0.9788, allocations: 54.56 kB / 0.945 GB, free: 115 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001523/0.9803, allocations: 0.7895 MB / 0.9458 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3e-07/0.9803, allocations: 0 / 0.9458 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003174/0.9835, allocations: 0.6549 MB / 0.9464 GB, free: 114.6 MB / 0.7325 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.000381/0.9839, allocations: 147.5 kB / 0.9465 GB, free: 114.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0109/0.9948, allocations: 5.142 MB / 0.9516 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9948, allocations: 1.031 kB / 0.9516 GB, free: 112.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006667/1.001, allocations: 3.336 MB / 0.9548 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/1.005, allocations: 0.5202 MB / 0.9553 GB, free: 110.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.015, allocations: 4.988 MB / 0.9602 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/1.017, allocations: 1.57 MB / 0.9617 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002013/1.019, allocations: 386.4 kB / 0.9621 GB, free: 107 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/1.019, allocations: 113.9 kB / 0.9622 GB, free: 107 MB / 0.7325 GB Notification: Performance of SimCode: time 9.52e-07/1.019, allocations: 0 / 0.9622 GB, free: 107 MB / 0.7325 GB Notification: Performance of Templates: time 0.05531/1.074, allocations: 43.32 MB / 1.005 GB, free: 71.32 MB / 0.7325 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)