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.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001467, allocations: 184.6 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 0.5783 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008821/0.000882, allocations: 101.1 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004116, allocations: 10.34 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.269, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01291/0.2819, allocations: 13.22 MB / 0.9138 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2953, allocations: 9.713 MB / 0.9232 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.2977, allocations: 47.69 kB / 0.9233 GB, free: 41.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.2993, allocations: 285.7 kB / 0.9236 GB, free: 40.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.3056, allocations: 1.453 MB / 0.925 GB, free: 39.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.3079, allocations: 0.5166 MB / 0.9255 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004392/0.3123, allocations: 2.904 MB / 0.9283 GB, free: 36.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.3159, allocations: 1.799 MB / 0.9301 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.319, allocations: 1.285 MB / 0.9313 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.3222, allocations: 1.051 MB / 0.9324 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0008809/0.3231, allocations: 68 kB / 0.9324 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.3257, allocations: 439.4 kB / 0.9328 GB, free: 31.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.3269, allocations: 0.4906 MB / 0.9333 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3283, allocations: 356.7 kB / 0.9337 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.3314, allocations: 2.119 MB / 0.9357 GB, free: 28.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.3314, allocations: 7.938 kB / 0.9357 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.027e-06/0.3314, allocations: 0 / 0.9357 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001244/0.3316, allocations: 4 kB / 0.9357 GB, free: 28.42 MB / 0.6042 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.004573/0.3362, allocations: 1.852 MB / 0.9375 GB, free: 26.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3362, allocations: 12.03 kB / 0.9376 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.3475, allocations: 2.17 MB / 0.9397 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.3507, allocations: 1.163 MB / 0.9408 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.3508, allocations: 86.31 kB / 0.9409 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.3513, allocations: 119.9 kB / 0.941 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006796/0.3581, allocations: 2.686 MB / 0.9436 GB, free: 20.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-05/0.3583, allocations: 7.938 kB / 0.9436 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000316/0.3586, allocations: 59.97 kB / 0.9437 GB, free: 20 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006275/0.3592, allocations: 194.1 kB / 0.9439 GB, free: 19.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007547/0.3668, allocations: 2.83 MB / 0.9466 GB, free: 16.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.3825, allocations: 10.56 MB / 0.957 GB, free: 5.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006357/0.3889, allocations: 2.379 MB / 0.9593 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.3919, allocations: 1.3 MB / 0.9605 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.3921, allocations: 13 kB / 0.9606 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3921, allocations: 51.5 kB / 0.9606 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=89): time 5.51e-06/0.3921, allocations: 0 / 0.9606 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of matching and sorting (n=153): time 0.05959/0.4517, allocations: 16.5 MB / 0.9767 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.4519, allocations: 72.72 kB / 0.9768 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002342/0.4542, allocations: 1.16 MB / 0.9779 GB, free: 120 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/0.4546, allocations: 53.7 kB / 0.978 GB, free: 60 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.4553, allocations: 0.7436 MB / 0.9787 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007214/0.456, allocations: 0.512 MB / 0.9792 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.4563, allocations: 36 kB / 0.9792 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.4565, allocations: 365.9 kB / 0.9796 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00374/0.4602, allocations: 1.526 MB / 0.9811 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003919/0.4642, allocations: 1.795 MB / 0.9828 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004018/0.4682, allocations: 1.642 MB / 0.9844 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.4682, allocations: 4 kB / 0.9844 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01473/0.483, allocations: 5.3 MB / 0.9896 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.4831, allocations: 8 kB / 0.9896 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.4831, allocations: 8 kB / 0.9896 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007096/0.4902, allocations: 1.889 MB / 0.9915 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.4923, allocations: 423.2 kB / 0.9919 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02971/0.522, allocations: 22.14 MB / 1.014 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003159/0.5252, allocations: 319.6 kB / 1.014 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004418/0.5257, allocations: 67.95 kB / 1.014 GB, free: 10.07 MB / 0.6667 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001401/0.5271, allocations: 465.5 kB / 1.014 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/0.5278, allocations: 177.8 kB / 1.014 GB, free: 9.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.5419, allocations: 5.34 MB / 1.02 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5419, allocations: 12 kB / 1.02 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.639e-05/0.542, allocations: 20 kB / 1.02 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.5421, allocations: 11.97 kB / 1.02 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.5606, allocations: 7.457 MB / 1.027 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.5606, allocations: 7.938 kB / 1.027 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.5624, allocations: 363.7 kB / 1.027 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006439/0.5689, allocations: 1.697 MB / 1.029 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/0.5691, allocations: 43.97 kB / 1.029 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02747/0.5966, allocations: 21.35 MB / 1.05 GB, free: 3.883 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.5967, allocations: 7.938 kB / 1.05 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5812/1.178, allocations: 4.901 MB / 1.055 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.179, allocations: 496.4 kB / 1.055 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/1.18, allocations: 29.44 kB / 1.055 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/1.182, allocations: 329.2 kB / 1.056 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/1.182, allocations: 154.3 kB / 1.056 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.182, allocations: 51.94 kB / 1.056 GB, free: 137.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001113/1.183, allocations: 0.775 MB / 1.056 GB, free: 137.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.183, allocations: 0 / 1.056 GB, free: 137.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002293/1.186, allocations: 0.6581 MB / 1.057 GB, free: 137.2 MB / 0.698 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003077/1.186, allocations: 145.4 kB / 1.057 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.198, allocations: 5.184 MB / 1.062 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.198, allocations: 0.8438 kB / 1.062 GB, free: 136.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.008085/1.206, allocations: 3.359 MB / 1.066 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/1.21, allocations: 0.5095 MB / 1.066 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.22, allocations: 4.996 MB / 1.071 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/1.222, allocations: 1.575 MB / 1.073 GB, free: 132.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/1.222, allocations: 126.6 kB / 1.073 GB, free: 132.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.104e-06/1.222, allocations: 1.188 kB / 1.073 GB, free: 132.7 MB / 0.698 GB Notification: Performance of Templates: time 0.08551/1.308, allocations: 85.62 MB / 1.156 GB, free: 61.79 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)