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.001325/0.001326, 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.001374/0.001374, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.739/1.739, allocations: 205.1 MB / 222 MB, free: 4.777 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.746/1.746, allocations: 251.6 MB / 0.5088 GB, free: 3.398 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.001793/0.001793, allocations: 67.66 kB / 0.6216 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8419, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01662/0.8586, allocations: 13.85 MB / 0.7373 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.8724, allocations: 9.479 MB / 0.7466 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.8744, allocations: 55.62 kB / 0.7466 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004292/0.8788, allocations: 1.563 MB / 0.7482 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.884, allocations: 1.406 MB / 0.7495 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.8865, allocations: 0.6863 MB / 0.7502 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005423/0.8919, allocations: 3.18 MB / 0.7533 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/0.8944, allocations: 1.348 MB / 0.7546 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002473/0.8969, allocations: 0.9377 MB / 0.7555 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.8987, allocations: 1.144 MB / 0.7567 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.899, allocations: 100 kB / 0.7568 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.901, allocations: 0.889 MB / 0.7576 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006369/0.9017, allocations: 0.5529 MB / 0.7582 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.9027, allocations: 0.8665 MB / 0.759 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.9061, allocations: 2.726 MB / 0.7617 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.9061, allocations: 4 kB / 0.7617 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9061, allocations: 0 / 0.7617 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.878e-05/0.9062, allocations: 4 kB / 0.7617 GB, free: 6.266 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.004258/0.9104, allocations: 2.131 MB / 0.7638 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.9105, allocations: 15.97 kB / 0.7638 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.9212, allocations: 2.089 MB / 0.7658 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.9243, allocations: 1.193 MB / 0.767 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.9245, allocations: 86.73 kB / 0.7671 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002622/0.9248, allocations: 120.1 kB / 0.7672 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005771/0.9306, allocations: 2.686 MB / 0.7698 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.9307, allocations: 15.84 kB / 0.7698 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.9309, allocations: 47.98 kB / 0.7699 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/0.9315, allocations: 182.1 kB / 0.77 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006988/0.9385, allocations: 2.803 MB / 0.7728 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.9559, allocations: 10.52 MB / 0.783 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/0.9625, allocations: 2.521 MB / 0.7855 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003224/0.9658, allocations: 1.28 MB / 0.7868 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-05/0.9659, allocations: 13 kB / 0.7868 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.966, allocations: 43.56 kB / 0.7868 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.877e-06/0.966, allocations: 4 kB / 0.7868 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.04374/1.01, allocations: 13.34 MB / 0.7998 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/1.01, allocations: 64.72 kB / 0.7999 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/1.012, allocations: 1.125 MB / 0.801 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/1.012, allocations: 49.7 kB / 0.8011 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/1.013, allocations: 0.7194 MB / 0.8018 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/1.014, allocations: 457.4 kB / 0.8022 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005566/1.014, allocations: 255.5 kB / 0.8024 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002371/1.014, allocations: 361.8 kB / 0.8028 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003293/1.018, allocations: 1.339 MB / 0.8041 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.021, allocations: 1.604 MB / 0.8057 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006412/1.027, allocations: 2.991 MB / 0.8086 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.027, allocations: 4 kB / 0.8086 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01218/1.04, allocations: 4.439 MB / 0.8129 GB, free: 340 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.68e-05/1.04, allocations: 11.94 kB / 0.8129 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/1.04, allocations: 12.09 kB / 0.8129 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005991/1.046, allocations: 1.431 MB / 0.8143 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/1.048, allocations: 439.2 kB / 0.8148 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02845/1.076, allocations: 24.55 MB / 0.8387 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/1.079, allocations: 303.6 kB / 0.839 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/1.079, allocations: 67.89 kB / 0.8391 GB, free: 3.742 MB / 0.6544 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.0009638/1.08, allocations: 441.5 kB / 0.8395 GB, free: 3.301 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/1.081, allocations: 158.1 kB / 0.8397 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/1.091, allocations: 4.457 MB / 0.844 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/1.091, allocations: 19.98 kB / 0.844 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/1.091, allocations: 12 kB / 0.844 GB, free: 14.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/1.091, allocations: 7.969 kB / 0.844 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/1.106, allocations: 6.763 MB / 0.8506 GB, free: 7.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.106, allocations: 4 kB / 0.8507 GB, free: 7.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/1.107, allocations: 387.6 kB / 0.851 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00475/1.112, allocations: 1.299 MB / 0.8523 GB, free: 5.941 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.112, allocations: 43.97 kB / 0.8523 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/1.137, allocations: 23.51 MB / 0.8753 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.137, allocations: 8.125 kB / 0.8753 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/1.148, allocations: 4.2 MB / 0.8794 GB, free: 8.352 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.149, allocations: 447 kB / 0.8798 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.149, allocations: 32 kB / 0.8799 GB, free: 7.863 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/1.151, allocations: 311.6 kB / 0.8802 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005431/1.152, allocations: 132.6 kB / 0.8803 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.152, allocations: 51.97 kB / 0.8803 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001072/1.153, allocations: 0.7526 MB / 0.8811 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/1.153, allocations: 0 / 0.8811 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002261/1.155, allocations: 0.5664 MB / 0.8816 GB, free: 6.059 MB / 0.7012 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.0003827/1.156, allocations: 145.5 kB / 0.8818 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.166, allocations: 5.119 MB / 0.8868 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.166, allocations: 0 / 0.8868 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006608/1.173, allocations: 3.495 MB / 0.8902 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.176, allocations: 0.5175 MB / 0.8907 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/1.184, allocations: 4.643 MB / 0.8952 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/1.186, allocations: 1.473 MB / 0.8966 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001962/1.188, allocations: 425.6 kB / 0.897 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/1.188, allocations: 111.4 kB / 0.8972 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of SimCode: time 1.593e-06/1.188, allocations: 0 / 0.8972 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Templates: time 0.5663/1.754, allocations: 37.73 MB / 0.934 GB, free: 176 MB / 0.7325 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)