Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.862/1.862, allocations: 287.5 MB / 302.6 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009868/0.0009869, allocations: 186.2 kB / 371.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009212/0.000921, allocations: 94.22 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004218, allocations: 12.98 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2669, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03687/0.3039, allocations: 30.18 MB / 1.008 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03077/0.3347, allocations: 14.01 MB / 1.022 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.3391, allocations: 135.2 kB / 1.022 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.3423, allocations: 0.7054 MB / 1.023 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009189/0.3515, allocations: 2.401 MB / 1.025 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005502/0.3571, allocations: 1.381 MB / 1.026 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.3698, allocations: 9.801 MB / 1.036 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02265/0.3925, allocations: 11.37 MB / 1.047 GB, free: 5.93 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007823/0.4004, allocations: 2.938 MB / 1.05 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007839/0.4083, allocations: 3.391 MB / 1.053 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002226/0.4106, allocations: 296 kB / 1.053 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004519/0.4151, allocations: 0.8077 MB / 1.054 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005189/0.4203, allocations: 2.268 MB / 1.056 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003526/0.4239, allocations: 1.12 MB / 1.058 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.4371, allocations: 9.163 MB / 1.067 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.4372, allocations: 0 / 1.067 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4372, allocations: 7.875 kB / 1.067 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004602/0.4377, allocations: 0 / 1.067 GB, free: 1.883 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.5507/0.9884, allocations: 4.822 MB / 1.071 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.149e-05/0.9885, allocations: 12.64 kB / 1.071 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008824/0.9973, allocations: 1.144 MB / 1.072 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009182/1.007, allocations: 3.325 MB / 1.076 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/1.007, allocations: 372.2 kB / 1.076 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/1.009, allocations: 0.4891 MB / 1.076 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0187/1.027, allocations: 7.961 MB / 1.084 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/1.028, allocations: 23.94 kB / 1.084 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005215/1.028, allocations: 219 kB / 1.084 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001218/1.029, allocations: 440.1 kB / 1.085 GB, free: 75.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/1.044, allocations: 6.05 MB / 1.091 GB, free: 73.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05221/1.096, allocations: 35.22 MB / 1.125 GB, free: 42.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/1.1, allocations: 2.017 MB / 1.127 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/1.103, allocations: 1.853 MB / 1.129 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/1.103, allocations: 19.89 kB / 1.129 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.628e-05/1.103, allocations: 52.72 kB / 1.129 GB, free: 40.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 5.741e-06/1.103, allocations: 0 / 1.129 GB, free: 40.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.1324/1.236, allocations: 39.01 MB / 1.167 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/1.236, allocations: 77.58 kB / 1.167 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/1.239, allocations: 2.258 MB / 1.169 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002687/1.239, allocations: 77.7 kB / 1.169 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.24, allocations: 2.273 MB / 1.172 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007354/1.241, allocations: 0.9329 MB / 1.173 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/1.241, allocations: 56 kB / 1.173 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.241, allocations: 428.1 kB / 1.173 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002669/1.244, allocations: 1.96 MB / 1.175 GB, free: 14.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/1.247, allocations: 2.591 MB / 1.178 GB, free: 12.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006704/1.254, allocations: 4.913 MB / 1.182 GB, free: 6.922 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.254, allocations: 6.906 kB / 1.182 GB, free: 6.918 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01506/1.269, allocations: 7.719 MB / 1.19 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/1.269, allocations: 12 kB / 1.19 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/1.269, allocations: 20 kB / 1.19 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00915/1.278, allocations: 3.21 MB / 1.193 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.28, allocations: 406.9 kB / 1.193 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04343/1.324, allocations: 31.11 MB / 1.224 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003514/1.327, allocations: 159.8 kB / 1.224 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003354/1.328, allocations: 112 kB / 1.224 GB, free: 11.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003955/1.332, allocations: 1.797 MB / 1.226 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008471/1.332, allocations: 332.1 kB / 1.226 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.346, allocations: 7.345 MB / 1.233 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/1.346, allocations: 24 kB / 1.233 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.858e-05/1.346, allocations: 35.94 kB / 1.233 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/1.346, allocations: 11.95 kB / 1.233 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02309/1.37, allocations: 12.91 MB / 1.246 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/1.37, allocations: 8 kB / 1.246 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/1.371, allocations: 235.6 kB / 1.246 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00814/1.379, allocations: 2.844 MB / 1.249 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.379, allocations: 52.12 kB / 1.249 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04045/1.42, allocations: 29.91 MB / 1.278 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.42, allocations: 7.938 kB / 1.278 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.432, allocations: 6.876 MB / 1.285 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.435, allocations: 0.7783 MB / 1.286 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/1.435, allocations: 56 kB / 1.286 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.437, allocations: 167.7 kB / 1.286 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/1.438, allocations: 257.5 kB / 1.286 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.438, allocations: 76 kB / 1.286 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002287/1.44, allocations: 1.502 MB / 1.288 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.81e-07/1.44, allocations: 0 / 1.288 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004955/1.445, allocations: 1.352 MB / 1.289 GB, free: 7.477 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004224/1.446, allocations: 175 kB / 1.289 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01221/1.458, allocations: 6.926 MB / 1.296 GB, free: 288 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.458, allocations: 4 kB / 1.296 GB, free: 284 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0081/1.466, allocations: 4.401 MB / 1.3 GB, free: 11.81 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007193/1.474, allocations: 1.016 MB / 1.301 GB, free: 10.81 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.493, allocations: 11.94 MB / 1.313 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/1.497, allocations: 3.643 MB / 1.316 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002533/1.5, allocations: 0.5595 MB / 1.317 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/1.5, allocations: 159.4 kB / 1.317 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of SimCode: time 1.342e-06/1.5, allocations: 0 / 1.317 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of Templates: time 0.1271/1.627, allocations: 71.55 MB / 1.387 GB, free: 3.586 MB / 0.9011 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)