Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.01115/0.01115, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.002183/0.002183, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.734/1.734, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.65/1.65, allocations: 251.7 MB / 0.5094 GB, free: 2.992 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.001438/0.001438, allocations: 70.25 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2611, allocations: 104.7 MB / 0.828 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01873/0.2798, allocations: 13.93 MB / 0.8417 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2964, allocations: 9.475 MB / 0.8509 GB, free: 8.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.2993, allocations: 59.62 kB / 0.851 GB, free: 8.609 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004927/0.3043, allocations: 1.664 MB / 0.8526 GB, free: 6.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.3104, allocations: 1.583 MB / 0.8541 GB, free: 5.359 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.3132, allocations: 0.761 MB / 0.8549 GB, free: 4.598 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004827/0.3181, allocations: 2.523 MB / 0.8573 GB, free: 2.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.3208, allocations: 1.411 MB / 0.8587 GB, free: 0.625 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.3232, allocations: 1.071 MB / 0.8598 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.3257, allocations: 1.14 MB / 0.8609 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006562/0.3263, allocations: 164 kB / 0.861 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.3287, allocations: 0.7877 MB / 0.8618 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.3299, allocations: 0.6115 MB / 0.8624 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002912/0.3329, allocations: 0.9406 MB / 0.8633 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005161/0.338, allocations: 2.769 MB / 0.866 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3381, allocations: 0 / 0.866 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.307e-06/0.3381, allocations: 0 / 0.866 GB, free: 9.121 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.511e-05/0.3382, allocations: 0 / 0.866 GB, free: 9.121 MB / 0.6856 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.004886/0.3431, allocations: 2.135 MB / 0.8681 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3431, allocations: 12.03 kB / 0.8681 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.356, allocations: 2.085 MB / 0.8702 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004395/0.3605, allocations: 1.29 MB / 0.8714 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.011e-05/0.3606, allocations: 94.73 kB / 0.8715 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.3609, allocations: 124.1 kB / 0.8716 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006582/0.3675, allocations: 2.675 MB / 0.8742 GB, free: 452 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.014e-05/0.3676, allocations: 11.84 kB / 0.8742 GB, free: 440 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.3678, allocations: 55.98 kB / 0.8743 GB, free: 384 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007147/0.3685, allocations: 178.1 kB / 0.8745 GB, free: 204 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008482/0.377, allocations: 2.799 MB / 0.8772 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/0.3964, allocations: 10.47 MB / 0.8874 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007672/0.4041, allocations: 2.521 MB / 0.8899 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003726/0.4079, allocations: 1.28 MB / 0.8911 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.408, allocations: 13 kB / 0.8912 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.305e-05/0.4081, allocations: 51.48 kB / 0.8912 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=89): time 3.156e-06/0.4081, allocations: 0 / 0.8912 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.0522/0.4603, allocations: 13.36 MB / 0.9043 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.4605, allocations: 68.66 kB / 0.9043 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/0.4628, allocations: 1.109 MB / 0.9054 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/0.4631, allocations: 45.7 kB / 0.9054 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.4638, allocations: 0.7155 MB / 0.9061 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007223/0.4645, allocations: 449.5 kB / 0.9066 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007278/0.4653, allocations: 267.4 kB / 0.9068 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.4655, allocations: 365.9 kB / 0.9072 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/0.4692, allocations: 1.339 MB / 0.9085 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.473, allocations: 1.6 MB / 0.9101 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007468/0.4805, allocations: 2.998 MB / 0.913 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.4806, allocations: 4 kB / 0.913 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01241/0.493, allocations: 4.442 MB / 0.9173 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.4931, allocations: 8 kB / 0.9173 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.672e-05/0.4931, allocations: 8 kB / 0.9173 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/0.4987, allocations: 1.436 MB / 0.9187 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.5012, allocations: 435.2 kB / 0.9192 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7246/1.226, allocations: 26.67 MB / 0.9452 GB, free: 66.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/1.229, allocations: 304.8 kB / 0.9455 GB, free: 66.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/1.229, allocations: 62.17 kB / 0.9455 GB, free: 66.18 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 (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.001088/1.231, allocations: 435.8 kB / 0.946 GB, free: 65.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.231, allocations: 166.6 kB / 0.9461 GB, free: 65.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/1.244, allocations: 4.452 MB / 0.9505 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/1.245, allocations: 13.47 kB / 0.9505 GB, free: 64.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.934e-05/1.245, allocations: 18.22 kB / 0.9505 GB, free: 64.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/1.245, allocations: 10.08 kB / 0.9505 GB, free: 64.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/1.262, allocations: 6.75 MB / 0.9571 GB, free: 61.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/1.262, allocations: 4.938 kB / 0.9571 GB, free: 61.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/1.264, allocations: 383.5 kB / 0.9575 GB, free: 61.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004667/1.269, allocations: 1.309 MB / 0.9588 GB, free: 61.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/1.269, allocations: 49.59 kB / 0.9588 GB, free: 61.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/1.293, allocations: 25.49 MB / 0.9837 GB, free: 40.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.293, allocations: 7.688 kB / 0.9837 GB, free: 40.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.305, allocations: 4.203 MB / 0.9878 GB, free: 37.67 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.306, allocations: 453.5 kB / 0.9882 GB, free: 37.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/1.306, allocations: 32.53 kB / 0.9883 GB, free: 37.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.308, allocations: 309.8 kB / 0.9886 GB, free: 37.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005592/1.309, allocations: 127.1 kB / 0.9887 GB, free: 37.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.309, allocations: 46.94 kB / 0.9887 GB, free: 37.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00107/1.31, allocations: 0.7543 MB / 0.9895 GB, free: 36.65 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/1.31, allocations: 0 / 0.9895 GB, free: 36.65 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002641/1.313, allocations: 0.5705 MB / 0.99 GB, free: 36.59 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 (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.000326/1.313, allocations: 151.8 kB / 0.9902 GB, free: 36.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.324, allocations: 5.133 MB / 0.9952 GB, free: 33.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.324, allocations: 2.25 kB / 0.9952 GB, free: 33.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006216/1.33, allocations: 3.482 MB / 0.9986 GB, free: 30.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.332, allocations: 0.5527 MB / 0.9991 GB, free: 30.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/1.341, allocations: 3.992 MB / 1.003 GB, free: 26.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.342, allocations: 1.484 MB / 1.004 GB, free: 25.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001447/1.343, allocations: 421.6 kB / 1.005 GB, free: 24.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/1.343, allocations: 111.4 kB / 1.005 GB, free: 24.7 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/1.343, allocations: 0 / 1.005 GB, free: 24.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.07314/1.417, allocations: 39.37 MB / 1.043 GB, free: 1.812 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)