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.007321/0.007321, allocations: 102.7 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.001289/0.001289, allocations: 198.1 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.807/1.807, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.718/1.718, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001518/0.001518, allocations: 70.67 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2995, allocations: 104.7 MB / 0.828 GB, free: 200 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01855/0.3181, allocations: 14.66 MB / 0.8424 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01967/0.3378, allocations: 10.45 MB / 0.8526 GB, free: 6.992 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.3403, allocations: 55.69 kB / 0.8526 GB, free: 6.938 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004875/0.3452, allocations: 1.679 MB / 0.8543 GB, free: 5.254 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007382/0.3526, allocations: 1.858 MB / 0.8561 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.3555, allocations: 0.7561 MB / 0.8568 GB, free: 2.637 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005243/0.3607, allocations: 2.754 MB / 0.8595 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.3634, allocations: 1.419 MB / 0.8609 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.3665, allocations: 1.531 MB / 0.8624 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002028/0.3686, allocations: 1.164 MB / 0.8635 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.3688, allocations: 164 kB / 0.8637 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.3707, allocations: 0.7799 MB / 0.8644 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.3713, allocations: 0.6037 MB / 0.865 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/0.3724, allocations: 0.9522 MB / 0.8659 GB, free: 9.215 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.3758, allocations: 2.768 MB / 0.8687 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.3758, allocations: 0 / 0.8687 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3758, allocations: 0 / 0.8687 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.921e-05/0.3758, allocations: 0 / 0.8687 GB, free: 6.438 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.004166/0.38, allocations: 2.17 MB / 0.8708 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.3801, allocations: 12.03 kB / 0.8708 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.3921, allocations: 2.108 MB / 0.8728 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.3958, allocations: 1.311 MB / 0.8741 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/0.3959, allocations: 90.62 kB / 0.8742 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.3962, allocations: 116.1 kB / 0.8743 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006409/0.4026, allocations: 2.667 MB / 0.8769 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.111e-05/0.4027, allocations: 11.94 kB / 0.8769 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.4029, allocations: 51.98 kB / 0.877 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007321/0.4036, allocations: 198.1 kB / 0.8772 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00776/0.4114, allocations: 2.791 MB / 0.8799 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/0.4295, allocations: 10.47 MB / 0.8901 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007193/0.4367, allocations: 2.34 MB / 0.8924 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/0.4401, allocations: 1.28 MB / 0.8937 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.4403, allocations: 12.98 kB / 0.8937 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/0.4403, allocations: 51.5 kB / 0.8937 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=89): time 6.342e-06/0.4403, allocations: 0 / 0.8937 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=153): time 0.06431/0.5047, allocations: 16.48 MB / 0.9098 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5048, allocations: 68.72 kB / 0.9099 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.5068, allocations: 1.172 MB / 0.911 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.5072, allocations: 53.7 kB / 0.9111 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/0.5078, allocations: 0.7474 MB / 0.9118 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006865/0.5085, allocations: 0.5121 MB / 0.9123 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006606/0.5092, allocations: 287.4 kB / 0.9126 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5093, allocations: 309 kB / 0.9129 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003847/0.5132, allocations: 1.51 MB / 0.9143 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003847/0.5171, allocations: 1.776 MB / 0.9161 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008137/0.5252, allocations: 3.373 MB / 0.9194 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/0.5252, allocations: 4 kB / 0.9194 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.721/1.246, allocations: 5.265 MB / 0.9245 GB, free: 86.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/1.246, allocations: 8.953 kB / 0.9245 GB, free: 86.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/1.246, allocations: 10.88 kB / 0.9245 GB, free: 86.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007974/1.254, allocations: 1.884 MB / 0.9264 GB, free: 86.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.257, allocations: 414.6 kB / 0.9268 GB, free: 86.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03136/1.288, allocations: 24.13 MB / 0.9503 GB, free: 69.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.292, allocations: 304.8 kB / 0.9506 GB, free: 69.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/1.292, allocations: 66.39 kB / 0.9507 GB, free: 69.53 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.001221/1.293, allocations: 467.5 kB / 0.9511 GB, free: 69.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/1.294, allocations: 177.8 kB / 0.9513 GB, free: 69.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/1.308, allocations: 5.335 MB / 0.9565 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/1.309, allocations: 15.03 kB / 0.9565 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-05/1.309, allocations: 18.88 kB / 0.9566 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/1.309, allocations: 7.641 kB / 0.9566 GB, free: 67.35 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/1.327, allocations: 7.414 MB / 0.9638 GB, free: 64.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/1.327, allocations: 2.812 kB / 0.9638 GB, free: 64.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.329, allocations: 356 kB / 0.9641 GB, free: 63.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005986/1.335, allocations: 1.706 MB / 0.9658 GB, free: 63.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/1.335, allocations: 43.09 kB / 0.9659 GB, free: 63.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/1.359, allocations: 23.31 MB / 0.9886 GB, free: 44.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.359, allocations: 4 kB / 0.9886 GB, free: 44.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.37, allocations: 4.891 MB / 0.9934 GB, free: 39.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/1.371, allocations: 494.7 kB / 0.9939 GB, free: 38.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/1.371, allocations: 31.98 kB / 0.9939 GB, free: 38.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.373, allocations: 319.5 kB / 0.9942 GB, free: 38.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005578/1.374, allocations: 153 kB / 0.9943 GB, free: 38.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.374, allocations: 59.91 kB / 0.9944 GB, free: 38.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009511/1.375, allocations: 0.7899 MB / 0.9952 GB, free: 37.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.375, allocations: 0.9844 kB / 0.9952 GB, free: 37.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002586/1.377, allocations: 0.6562 MB / 0.9958 GB, free: 36.66 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.0003186/1.378, allocations: 137.7 kB / 0.9959 GB, free: 36.51 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.388, allocations: 5.159 MB / 1.001 GB, free: 31.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.388, allocations: 4 kB / 1.001 GB, free: 31.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.394, allocations: 3.345 MB / 1.004 GB, free: 27.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/1.397, allocations: 0.5669 MB / 1.005 GB, free: 27.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/1.405, allocations: 4.275 MB / 1.009 GB, free: 23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.406, allocations: 1.564 MB / 1.011 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001363/1.408, allocations: 391.7 kB / 1.011 GB, free: 21.02 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/1.408, allocations: 107.4 kB / 1.011 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.408, allocations: 0 / 1.011 GB, free: 20.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.07693/1.485, allocations: 45.37 MB / 1.055 GB, free: 8.07 MB / 0.7637 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)