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.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 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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001342/0.001342, allocations: 108 kB / 15.61 MB, free: 148 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.001814/0.001814, allocations: 194.4 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.74/1.74, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.768/1.768, allocations: 251.7 MB / 0.5092 GB, free: 3.148 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.001709/0.001709, allocations: 68.47 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6832, allocations: 104.7 MB / 0.7245 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01916/0.7025, allocations: 14.66 MB / 0.7388 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.7211, allocations: 10.45 MB / 0.749 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00222/0.7233, allocations: 55.62 kB / 0.7491 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005004/0.7284, allocations: 1.689 MB / 0.7507 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008611/0.7371, allocations: 1.803 MB / 0.7525 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.7402, allocations: 0.7625 MB / 0.7533 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007302/0.7475, allocations: 2.746 MB / 0.7559 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003407/0.751, allocations: 1.415 MB / 0.7573 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003942/0.7549, allocations: 1.504 MB / 0.7588 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.758, allocations: 1.152 MB / 0.7599 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008662/0.7589, allocations: 167.9 kB / 0.7601 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.7619, allocations: 0.7916 MB / 0.7608 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.7632, allocations: 0.5998 MB / 0.7614 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002592/0.7658, allocations: 0.9522 MB / 0.7624 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.7706, allocations: 2.745 MB / 0.765 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.7706, allocations: 0 / 0.765 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7706, allocations: 0 / 0.765 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.95e-05/0.7707, allocations: 0 / 0.765 GB, free: 3.383 MB / 0.5762 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.004604/0.7753, allocations: 2.169 MB / 0.7672 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.7753, allocations: 12.03 kB / 0.7672 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.7872, allocations: 2.112 MB / 0.7692 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.7905, allocations: 1.206 MB / 0.7704 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/0.7906, allocations: 90.69 kB / 0.7705 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002728/0.7909, allocations: 116.1 kB / 0.7706 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006079/0.797, allocations: 2.678 MB / 0.7732 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.7971, allocations: 7.938 kB / 0.7732 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.7973, allocations: 59.92 kB / 0.7733 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006967/0.798, allocations: 194.1 kB / 0.7735 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007923/0.8059, allocations: 2.791 MB / 0.7762 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/0.8262, allocations: 10.52 MB / 0.7865 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/0.8338, allocations: 2.34 MB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/0.8375, allocations: 1.276 MB / 0.79 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.8377, allocations: 16.98 kB / 0.79 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.579e-05/0.8378, allocations: 43.56 kB / 0.7901 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 4.448e-06/0.8378, allocations: 0 / 0.7901 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of matching and sorting (n=153): time 0.06415/0.9019, allocations: 16.47 MB / 0.8061 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.9021, allocations: 72.72 kB / 0.8062 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.9046, allocations: 1.168 MB / 0.8074 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003641/0.905, allocations: 53.7 kB / 0.8074 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/0.9058, allocations: 0.7436 MB / 0.8081 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000845/0.9067, allocations: 0.5121 MB / 0.8086 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/0.9074, allocations: 287.4 kB / 0.8089 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9076, allocations: 309 kB / 0.8092 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003961/0.9115, allocations: 1.507 MB / 0.8107 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/0.9159, allocations: 1.788 MB / 0.8124 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/0.9239, allocations: 3.369 MB / 0.8157 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.9239, allocations: 7.938 kB / 0.8157 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01485/0.9388, allocations: 5.277 MB / 0.8209 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.9389, allocations: 8 kB / 0.8209 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.9389, allocations: 8 kB / 0.8209 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007202/0.9461, allocations: 1.893 MB / 0.8227 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/0.9482, allocations: 419.2 kB / 0.8231 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03215/0.9804, allocations: 24.14 MB / 0.8467 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.9836, allocations: 303.5 kB / 0.847 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004355/0.984, allocations: 71.95 kB / 0.8471 GB, free: 12.9 MB / 0.67 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.001533/0.9856, allocations: 465.5 kB / 0.8475 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006629/0.9862, allocations: 173.9 kB / 0.8477 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.001, allocations: 5.328 MB / 0.8529 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/1.001, allocations: 16 kB / 0.8529 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.431e-05/1.001, allocations: 20 kB / 0.8529 GB, free: 6.852 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.485e-05/1.001, allocations: 7.969 kB / 0.8529 GB, free: 6.844 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/1.02, allocations: 7.418 MB / 0.8602 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.02, allocations: 4 kB / 0.8602 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/1.022, allocations: 355.7 kB / 0.8605 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006563/1.029, allocations: 1.725 MB / 0.8622 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/1.029, allocations: 43.97 kB / 0.8622 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03066/1.06, allocations: 23.32 MB / 0.885 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.06, allocations: 4.094 kB / 0.885 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.073, allocations: 4.889 MB / 0.8898 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.075, allocations: 490.8 kB / 0.8903 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000607/1.076, allocations: 31.98 kB / 0.8903 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00283/1.078, allocations: 315.5 kB / 0.8906 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000896/1.079, allocations: 153 kB / 0.8907 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002636/1.08, allocations: 55.97 kB / 0.8908 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001901/1.082, allocations: 0.7899 MB / 0.8916 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.11e-07/1.082, allocations: 0 / 0.8916 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003628/1.085, allocations: 0.6602 MB / 0.8922 GB, free: 13.25 MB / 0.7169 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.0004454/1.086, allocations: 142.6 kB / 0.8923 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.099, allocations: 5.44 MB / 0.8977 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.099, allocations: 4.125 kB / 0.8977 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008017/1.107, allocations: 3.339 MB / 0.9009 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/1.111, allocations: 0.557 MB / 0.9015 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4502/1.561, allocations: 4.323 MB / 0.9057 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/1.563, allocations: 1.569 MB / 0.9072 GB, free: 164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001955/1.565, allocations: 383.6 kB / 0.9076 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/1.566, allocations: 108.7 kB / 0.9077 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/1.566, allocations: 0.9688 kB / 0.9077 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.07311/1.639, allocations: 44.87 MB / 0.9515 GB, free: 137.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)