Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 105.4 kB / 15.7 MB, free: 24 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.001216/0.001216, allocations: 197.1 kB / 16.64 MB, free: 6.453 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.788/1.788, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001438/0.001438, allocations: 77.12 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2685, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04363/0.3122, allocations: 34.69 MB / 0.818 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.3327, allocations: 11.63 MB / 0.8294 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.3365, allocations: 163.2 kB / 0.8295 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.3478, allocations: 4.245 MB / 0.8337 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.3543, allocations: 1.986 MB / 0.8356 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007079/0.3614, allocations: 2.411 MB / 0.838 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.3733, allocations: 8.452 MB / 0.8462 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01724/0.3906, allocations: 11.13 MB / 0.8571 GB, free: 1.738 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007647/0.3983, allocations: 3.743 MB / 0.8608 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008558/0.4069, allocations: 4.183 MB / 0.8648 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002784/0.4097, allocations: 0.7851 MB / 0.8656 GB, free: 9.004 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.4156, allocations: 2.024 MB / 0.8676 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005022/0.4207, allocations: 3.053 MB / 0.8706 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007/0.4277, allocations: 3.404 MB / 0.8739 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01668/0.4444, allocations: 11.98 MB / 0.8856 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.161e-05/0.4445, allocations: 3.984 kB / 0.8856 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.624e-06/0.4445, allocations: 0 / 0.8856 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004703/0.4449, allocations: 0 / 0.8856 GB, free: 4.48 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01768/0.4626, allocations: 5.795 MB / 0.8912 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/0.4627, allocations: 16.02 kB / 0.8913 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007378/0.4701, allocations: 1.056 MB / 0.8923 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009877/0.48, allocations: 3.45 MB / 0.8957 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005948/0.4806, allocations: 419.4 kB / 0.8961 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002591/0.4832, allocations: 0.5393 MB / 0.8966 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/0.5087, allocations: 9.079 MB / 0.9055 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003355/0.5091, allocations: 31.67 kB / 0.9055 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.511, allocations: 240 kB / 0.9057 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004539/0.5114, allocations: 342.8 kB / 0.906 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.5273, allocations: 6.83 MB / 0.9127 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5752/1.103, allocations: 39.79 MB / 0.9516 GB, free: 92.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/1.107, allocations: 3.108 MB / 0.9546 GB, free: 91.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/1.11, allocations: 1.969 MB / 0.9565 GB, free: 90.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/1.11, allocations: 22.12 kB / 0.9565 GB, free: 90.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.11, allocations: 60.77 kB / 0.9566 GB, free: 90.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 5.611e-06/1.11, allocations: 0 / 0.9566 GB, free: 90.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02717/1.137, allocations: 9.981 MB / 0.9663 GB, free: 86.58 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/1.138, allocations: 70.94 kB / 0.9664 GB, free: 86.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/1.14, allocations: 1.529 MB / 0.9679 GB, free: 85.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.14, allocations: 50.98 kB / 0.968 GB, free: 85.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/1.141, allocations: 2.261 MB / 0.9702 GB, free: 83.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006258/1.142, allocations: 0.6245 MB / 0.9708 GB, free: 83.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006683/1.143, allocations: 412.4 kB / 0.9712 GB, free: 83.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/1.143, allocations: 301.1 kB / 0.9715 GB, free: 82.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/1.145, allocations: 1.174 MB / 0.9726 GB, free: 82.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/1.146, allocations: 1.885 MB / 0.9744 GB, free: 80.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/1.15, allocations: 3.372 MB / 0.9777 GB, free: 78.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/1.15, allocations: 6.875 kB / 0.9777 GB, free: 78.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007204/1.157, allocations: 4.578 MB / 0.9822 GB, free: 75.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/1.157, allocations: 15.84 kB / 0.9822 GB, free: 75.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.14e-05/1.158, allocations: 23.78 kB / 0.9823 GB, free: 75.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003273/1.161, allocations: 1.581 MB / 0.9838 GB, free: 75.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.162, allocations: 358.4 kB / 0.9841 GB, free: 75.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/1.181, allocations: 18.58 MB / 1.002 GB, free: 61.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/1.183, allocations: 117.1 kB / 1.002 GB, free: 61.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/1.184, allocations: 102.8 kB / 1.002 GB, free: 61.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003388/1.187, allocations: 1.893 MB / 1.004 GB, free: 60.37 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005444/1.188, allocations: 234.5 kB / 1.005 GB, free: 60.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/1.193, allocations: 4.09 MB / 1.009 GB, free: 56.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.193, allocations: 19.09 kB / 1.009 GB, free: 56.61 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/1.193, allocations: 18.38 kB / 1.009 GB, free: 56.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.193, allocations: 7.969 kB / 1.009 GB, free: 56.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/1.206, allocations: 9.46 MB / 1.018 GB, free: 46.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.206, allocations: 4 kB / 1.018 GB, free: 46.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000743/1.207, allocations: 191.6 kB / 1.018 GB, free: 46.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/1.209, allocations: 1.356 MB / 1.019 GB, free: 45.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.21, allocations: 40 kB / 1.019 GB, free: 45.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01632/1.226, allocations: 17.34 MB / 1.036 GB, free: 27.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.226, allocations: 8 kB / 1.036 GB, free: 27.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/1.232, allocations: 4.07 MB / 1.04 GB, free: 23.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.233, allocations: 0.5295 MB / 1.041 GB, free: 22.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/1.233, allocations: 35.94 kB / 1.041 GB, free: 22.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/1.234, allocations: 87.89 kB / 1.041 GB, free: 22.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004065/1.234, allocations: 165.7 kB / 1.041 GB, free: 22.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/1.234, allocations: 48 kB / 1.041 GB, free: 22.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001087/1.235, allocations: 1.005 MB / 1.042 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.132e-06/1.236, allocations: 0 / 1.042 GB, free: 21.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002888/1.238, allocations: 0.9882 MB / 1.043 GB, free: 20.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002386/1.239, allocations: 147.1 kB / 1.043 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005651/1.244, allocations: 4.304 MB / 1.047 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.861e-05/1.244, allocations: 0 / 1.047 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.248, allocations: 2.678 MB / 1.05 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/1.252, allocations: 0.7854 MB / 1.051 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.265, allocations: 8.583 MB / 1.059 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/1.268, allocations: 3.573 MB / 1.063 GB, free: 156 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001498/1.27, allocations: 467.9 kB / 1.063 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/1.27, allocations: 115.4 kB / 1.063 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of SimCode: time 1.001e-06/1.27, allocations: 0 / 1.063 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Templates: time 0.07736/1.347, allocations: 43.89 MB / 1.106 GB, free: 4.191 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)