Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.5/2.5, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 192.3 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 0.7948 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 114.9 kB / 0.9329 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 49.47 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2848, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.00581/0.2906, allocations: 5.178 MB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.004759/0.2954, allocations: 3.798 MB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.2958, allocations: 11.94 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.2975, allocations: 0.5466 MB / 1.227 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.299, allocations: 404.3 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.2999, allocations: 235.5 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.3015, allocations: 0.9231 MB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008667/0.3024, allocations: 0.4988 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.3029, allocations: 319.1 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.3033, allocations: 298.9 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.3034, allocations: 24 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007031/0.3041, allocations: 327.4 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3043, allocations: 155.5 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002197/0.3045, allocations: 222.8 kB / 1.231 GB, free: 104.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008131/0.3053, allocations: 0.8257 MB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3053, allocations: 4 kB / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.031e-06/0.3053, allocations: 0 / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3054, allocations: 0 / 1.232 GB, free: 103.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001528/0.3069, allocations: 0.8141 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3069, allocations: 11.98 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.3095, allocations: 0.675 MB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/0.3103, allocations: 452.4 kB / 1.233 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.3103, allocations: 29.02 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.3104, allocations: 28.12 kB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3117, allocations: 0.8278 MB / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3117, allocations: 0 / 1.234 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.3118, allocations: 12 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.3119, allocations: 60.58 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.3137, allocations: 0.9194 MB / 1.235 GB, free: 99.47 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.3169, allocations: 2.859 MB / 1.238 GB, free: 96.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3183, allocations: 0.5448 MB / 1.239 GB, free: 95.85 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.319, allocations: 305.3 kB / 1.239 GB, free: 95.55 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.682e-05/0.3191, allocations: 89.09 kB / 1.239 GB, free: 95.44 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3191, allocations: 30.56 kB / 1.239 GB, free: 95.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.3191, allocations: 0 / 1.239 GB, free: 95.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.01231/0.3314, allocations: 3.776 MB / 1.243 GB, free: 91.59 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3315, allocations: 55.41 kB / 1.243 GB, free: 91.53 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.3319, allocations: 441.4 kB / 1.243 GB, free: 91.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.332, allocations: 29.7 kB / 1.243 GB, free: 91.05 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.3321, allocations: 244.2 kB / 1.243 GB, free: 90.81 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.3322, allocations: 122.2 kB / 1.243 GB, free: 90.69 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.3323, allocations: 78.12 kB / 1.244 GB, free: 90.61 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.3324, allocations: 350.8 kB / 1.244 GB, free: 90.26 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008478/0.3333, allocations: 430.2 kB / 1.244 GB, free: 89.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/0.3342, allocations: 0.4891 MB / 1.245 GB, free: 89.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.3359, allocations: 0.9019 MB / 1.246 GB, free: 88.39 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3359, allocations: 0 / 1.246 GB, free: 88.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00514/0.3411, allocations: 1.818 MB / 1.247 GB, free: 86.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.3411, allocations: 11.98 kB / 1.247 GB, free: 86.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.3411, allocations: 0 / 1.247 GB, free: 86.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.3451, allocations: 0.9692 MB / 1.248 GB, free: 85.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.3457, allocations: 119.8 kB / 1.249 GB, free: 85.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008752/0.3544, allocations: 6.129 MB / 1.255 GB, free: 79.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.3554, allocations: 107.8 kB / 1.255 GB, free: 78.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.3555, allocations: 19.98 kB / 1.255 GB, free: 78.93 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001307/0.3568, allocations: 0.61 MB / 1.255 GB, free: 78.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008587/0.3577, allocations: 488.6 kB / 1.256 GB, free: 77.81 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0017/0.3594, allocations: 0.8743 MB / 1.257 GB, free: 76.91 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.3594, allocations: 0 / 1.257 GB, free: 76.91 MB / 0.823 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004321/0.3638, allocations: 1.598 MB / 1.258 GB, free: 75.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3638, allocations: 5.312 kB / 1.258 GB, free: 75.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3638, allocations: 4.188 kB / 1.258 GB, free: 75.29 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/0.3665, allocations: 0.7038 MB / 1.259 GB, free: 74.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.367, allocations: 135.8 kB / 1.259 GB, free: 74.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00595/0.373, allocations: 5.335 MB / 1.264 GB, free: 68.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.3738, allocations: 107.9 kB / 1.264 GB, free: 68.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.3738, allocations: 16.17 kB / 1.264 GB, free: 68.72 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001674/0.374, allocations: 209.8 kB / 1.264 GB, free: 68.51 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.3741, allocations: 35.53 kB / 1.264 GB, free: 68.47 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.3788, allocations: 1.715 MB / 1.266 GB, free: 66.74 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3788, allocations: 4 kB / 1.266 GB, free: 66.73 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3788, allocations: 7.984 kB / 1.266 GB, free: 66.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.3788, allocations: 0 / 1.266 GB, free: 66.73 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.3842, allocations: 2.41 MB / 1.269 GB, free: 64.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3842, allocations: 4 kB / 1.269 GB, free: 64.24 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.3846, allocations: 71.84 kB / 1.269 GB, free: 64.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003354/0.3879, allocations: 0.8953 MB / 1.269 GB, free: 63.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.388, allocations: 8 kB / 1.269 GB, free: 63.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007069/0.3951, allocations: 5.832 MB / 1.275 GB, free: 57.15 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3951, allocations: 0 / 1.275 GB, free: 57.15 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0055/0.4006, allocations: 2.791 MB / 1.278 GB, free: 54.29 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.4009, allocations: 180.6 kB / 1.278 GB, free: 54.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.401, allocations: 8 kB / 1.278 GB, free: 54.08 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/0.4016, allocations: 79.86 kB / 1.278 GB, free: 54 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.4018, allocations: 43.83 kB / 1.278 GB, free: 53.96 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.4018, allocations: 11.98 kB / 1.278 GB, free: 53.95 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002997/0.4021, allocations: 319.1 kB / 1.279 GB, free: 53.64 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4021, allocations: 4 kB / 1.279 GB, free: 53.64 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001107/0.4033, allocations: 260 kB / 1.279 GB, free: 53.38 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.4034, allocations: 107.6 kB / 1.279 GB, free: 53.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005636/0.4091, allocations: 2.427 MB / 1.281 GB, free: 50.79 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4091, allocations: 4.062 kB / 1.281 GB, free: 50.79 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.4114, allocations: 0.9575 MB / 1.282 GB, free: 49.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.4122, allocations: 117.5 kB / 1.282 GB, free: 49.68 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.4144, allocations: 1.697 MB / 1.284 GB, free: 47.94 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.415, allocations: 0.9646 MB / 1.285 GB, free: 46.95 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005216/0.4155, allocations: 151.2 kB / 1.285 GB, free: 46.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4156, allocations: 31.42 kB / 1.285 GB, free: 46.77 MB / 0.823 GB Notification: Performance of SimCode: time 1.363e-06/0.4156, allocations: 0 / 1.285 GB, free: 46.77 MB / 0.823 GB Notification: Performance of Templates: time 0.01797/0.4336, allocations: 15.99 MB / 1.301 GB, free: 30.89 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)