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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.91/2.91, allocations: 287.3 MB / 302.3 MB, free: 8.305 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.001663/0.001663, allocations: 182.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.00118/0.00118, allocations: 92.14 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 12.44 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2161, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04344/0.2596, allocations: 30.6 MB / 1.008 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.2837, allocations: 9.634 MB / 1.017 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003583/0.2873, allocations: 119.2 kB / 1.018 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004104/0.2915, allocations: 0.6832 MB / 1.018 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007452/0.299, allocations: 1.573 MB / 1.02 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005921/0.3049, allocations: 1.172 MB / 1.021 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009819/0.3148, allocations: 3.889 MB / 1.025 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02608/0.3409, allocations: 10.4 MB / 1.035 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005904/0.3469, allocations: 2.133 MB / 1.037 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.3531, allocations: 2.199 MB / 1.039 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.3548, allocations: 284 kB / 1.039 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/0.3581, allocations: 0.5269 MB / 1.04 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.004398/0.3626, allocations: 1.918 MB / 1.042 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002823/0.3654, allocations: 1.027 MB / 1.043 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.3797, allocations: 8.412 MB / 1.051 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3798, allocations: 0 / 1.051 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3798, allocations: 0 / 1.051 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000344/0.3801, allocations: 0 / 1.051 GB, free: 1.582 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01608/0.3962, allocations: 4.371 MB / 1.055 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.3963, allocations: 12.03 kB / 1.055 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007214/0.4035, allocations: 0.9108 MB / 1.056 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009747/0.4133, allocations: 2.925 MB / 1.059 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.4139, allocations: 353.6 kB / 1.059 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.416, allocations: 467.9 kB / 1.06 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.4414, allocations: 7.824 MB / 1.067 GB, free: 244 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002247/0.4417, allocations: 19.81 kB / 1.067 GB, free: 224 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/0.4432, allocations: 212 kB / 1.068 GB, free: 12 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6437/1.087, allocations: 363.5 kB / 1.068 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02108/1.108, allocations: 5.904 MB / 1.074 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05932/1.167, allocations: 36.25 MB / 1.109 GB, free: 49.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/1.174, allocations: 2.127 MB / 1.111 GB, free: 48.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/1.174, allocations: 21.48 kB / 1.111 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/1.174, allocations: 56.12 kB / 1.111 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 6.933e-06/1.174, allocations: 0 / 1.111 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.02512/1.2, allocations: 7.533 MB / 1.119 GB, free: 44.01 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/1.2, allocations: 68.56 kB / 1.119 GB, free: 43.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.203, allocations: 1.844 MB / 1.121 GB, free: 42.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004556/1.204, allocations: 53.08 kB / 1.121 GB, free: 42.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.206, allocations: 2.127 MB / 1.123 GB, free: 41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009782/1.207, allocations: 0.5613 MB / 1.123 GB, free: 40.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.207, allocations: 47.84 kB / 1.123 GB, free: 40.48 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.207, allocations: 389.3 kB / 1.124 GB, free: 40.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/1.21, allocations: 1.055 MB / 1.125 GB, free: 39.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/1.213, allocations: 1.748 MB / 1.126 GB, free: 38.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/1.217, allocations: 1.348 MB / 1.128 GB, free: 37.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.42e-05/1.217, allocations: 6.281 kB / 1.128 GB, free: 37.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.01184/1.229, allocations: 3.895 MB / 1.132 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/1.229, allocations: 18.03 kB / 1.132 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.724e-05/1.229, allocations: 23.12 kB / 1.132 GB, free: 35.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004582/1.234, allocations: 0.9301 MB / 1.132 GB, free: 34.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003252/1.237, allocations: 429.5 kB / 1.133 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/1.264, allocations: 21.42 MB / 1.154 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.268, allocations: 119 kB / 1.154 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004274/1.268, allocations: 98.7 kB / 1.154 GB, free: 14.93 MB / 0.6823 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(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.004194/1.272, allocations: 1.649 MB / 1.156 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/1.273, allocations: 254.8 kB / 1.156 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008705/1.282, allocations: 3.252 MB / 1.159 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/1.282, allocations: 14.25 kB / 1.159 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.741e-05/1.282, allocations: 10.75 kB / 1.159 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-05/1.282, allocations: 11.92 kB / 1.159 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/1.303, allocations: 7.541 MB / 1.166 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/1.303, allocations: 7.75 kB / 1.166 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.305, allocations: 219.6 kB / 1.167 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/1.309, allocations: 0.887 MB / 1.168 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/1.31, allocations: 31.95 kB / 1.168 GB, free: 3.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.032/1.342, allocations: 21.39 MB / 1.188 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/1.342, allocations: 4 kB / 1.188 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.352, allocations: 3.701 MB / 1.192 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002355/1.355, allocations: 0.5334 MB / 1.193 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008475/1.355, allocations: 31.98 kB / 1.193 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002432/1.358, allocations: 95.89 kB / 1.193 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007126/1.359, allocations: 141.6 kB / 1.193 GB, free: 7.285 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.359, allocations: 47.98 kB / 1.193 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002941/1.362, allocations: 1.205 MB / 1.194 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.82e-07/1.362, allocations: 0 / 1.194 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005238/1.367, allocations: 0.9062 MB / 1.195 GB, free: 5.113 MB / 0.7136 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007406/1.368, allocations: 158.9 kB / 1.195 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.38, allocations: 4.414 MB / 1.199 GB, free: 396 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.38, allocations: 256 / 1.199 GB, free: 396 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.007938/1.388, allocations: 2.991 MB / 1.202 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006201/1.394, allocations: 0.7309 MB / 1.203 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/1.418, allocations: 9.249 MB / 1.212 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007115/1.425, allocations: 3.286 MB / 1.215 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003303/1.428, allocations: 0.5254 MB / 1.216 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009086/1.429, allocations: 143.4 kB / 1.216 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of SimCode: time 1.242e-06/1.429, allocations: 0 / 1.216 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.176/1.605, allocations: 39.73 MB / 1.255 GB, free: 8.047 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)