Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.905/1.905, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001176/0.001175, allocations: 181 kB / 371.9 MB, free: 10.29 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.825/1.825, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001082/0.001082, allocations: 93.59 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004001, allocations: 16.14 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0201/0.2303, allocations: 26.61 MB / 1.005 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.2487, allocations: 12.58 MB / 1.018 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.2524, allocations: 119.2 kB / 1.018 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.2555, allocations: 0.6327 MB / 1.018 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008295/0.2639, allocations: 2.109 MB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.2679, allocations: 1.212 MB / 1.022 GB, free: 336 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007133/0.275, allocations: 3.997 MB / 1.026 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.2894, allocations: 8.518 MB / 1.034 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004404/0.2938, allocations: 2.286 MB / 1.036 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.2976, allocations: 2.039 MB / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.2988, allocations: 244 kB / 1.038 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.3013, allocations: 0.597 MB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002789/0.3041, allocations: 1.754 MB / 1.041 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002693/0.3068, allocations: 0.9641 MB / 1.042 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.317, allocations: 7.609 MB / 1.049 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.317, allocations: 0 / 1.049 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.324e-06/0.317, allocations: 0 / 1.049 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003708/0.3174, allocations: 0 / 1.049 GB, free: 4.191 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01145/0.3288, allocations: 4.174 MB / 1.053 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.3289, allocations: 8.031 kB / 1.053 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/0.3359, allocations: 0.9737 MB / 1.054 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/0.3428, allocations: 2.818 MB / 1.057 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.3431, allocations: 312.5 kB / 1.057 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.3444, allocations: 419.9 kB / 1.058 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.3568, allocations: 6.717 MB / 1.064 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.3569, allocations: 23.78 kB / 1.064 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004845/0.3574, allocations: 192 kB / 1.064 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008615/0.3583, allocations: 368 kB / 1.065 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3918/0.7501, allocations: 5.082 MB / 1.07 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03616/0.7863, allocations: 30.74 MB / 1.1 GB, free: 55.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.7888, allocations: 1.383 MB / 1.101 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.789, allocations: 19.06 kB / 1.101 GB, free: 54.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.789, allocations: 51.39 kB / 1.101 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 4.699e-06/0.789, allocations: 0 / 1.101 GB, free: 54.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.08514/0.8742, allocations: 22.79 MB / 1.123 GB, free: 45.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.8743, allocations: 79.7 kB / 1.123 GB, free: 45.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/0.8774, allocations: 2.037 MB / 1.125 GB, free: 44.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003836/0.8778, allocations: 58.11 kB / 1.125 GB, free: 44.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.8789, allocations: 2.01 MB / 1.127 GB, free: 42.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005201/0.8794, allocations: 0.681 MB / 1.128 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.8796, allocations: 45.81 kB / 1.128 GB, free: 41.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.8797, allocations: 400.3 kB / 1.128 GB, free: 41.54 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.8815, allocations: 1.417 MB / 1.13 GB, free: 40.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.8836, allocations: 1.998 MB / 1.132 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.8855, allocations: 1.724 MB / 1.133 GB, free: 38.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.8855, allocations: 5.438 kB / 1.133 GB, free: 38.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008938/0.8944, allocations: 5.635 MB / 1.139 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.298e-05/0.8945, allocations: 15.06 kB / 1.139 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.8945, allocations: 15.91 kB / 1.139 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005799/0.9003, allocations: 2.081 MB / 1.141 GB, free: 33.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.9018, allocations: 375.8 kB / 1.141 GB, free: 33.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02907/0.9309, allocations: 36.28 MB / 1.177 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002806/0.9337, allocations: 127.9 kB / 1.177 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/0.934, allocations: 92 kB / 1.177 GB, free: 10.39 MB / 0.698 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003326/0.9373, allocations: 1.505 MB / 1.179 GB, free: 8.879 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000729/0.9381, allocations: 284.6 kB / 1.179 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009772/0.9479, allocations: 5.191 MB / 1.184 GB, free: 3.336 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.9479, allocations: 20 kB / 1.184 GB, free: 3.316 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.195e-05/0.948, allocations: 19.94 kB / 1.184 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/0.948, allocations: 15.95 kB / 1.184 GB, free: 3.281 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/0.9671, allocations: 9.655 MB / 1.193 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.9672, allocations: 8 kB / 1.193 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009052/0.9681, allocations: 215.6 kB / 1.194 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005689/0.9738, allocations: 1.839 MB / 1.195 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002917/0.9741, allocations: 47.98 kB / 1.195 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03568/1.01, allocations: 35.27 MB / 1.23 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.01, allocations: 7.938 kB / 1.23 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009698/1.02, allocations: 5.424 MB / 1.235 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.022, allocations: 0.6225 MB / 1.236 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/1.022, allocations: 39.98 kB / 1.236 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.024, allocations: 135.5 kB / 1.236 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008009/1.025, allocations: 198.3 kB / 1.236 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.025, allocations: 56.28 kB / 1.236 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002256/1.027, allocations: 1.355 MB / 1.237 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.21e-07/1.027, allocations: 0 / 1.237 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004559/1.032, allocations: 1.031 MB / 1.238 GB, free: 8.461 MB / 0.7605 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/1.032, allocations: 171 kB / 1.239 GB, free: 8.285 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.043, allocations: 6.266 MB / 1.245 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.043, allocations: 0 / 1.245 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.006699/1.05, allocations: 4.391 MB / 1.249 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.054, allocations: 0.8882 MB / 1.25 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.069, allocations: 9.592 MB / 1.259 GB, free: 2.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003471/1.073, allocations: 3.205 MB / 1.262 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002189/1.075, allocations: 0.5237 MB / 1.263 GB, free: 14.89 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.076, allocations: 147.4 kB / 1.263 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of SimCode: time 9.92e-07/1.076, allocations: 0 / 1.263 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of Templates: time 0.09691/1.172, allocations: 55.49 MB / 1.317 GB, free: 7.984 MB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)