Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 194.8 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.81 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3756, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.00878/0.3844, allocations: 5.119 MB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.3901, allocations: 3.373 MB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004456/0.3906, allocations: 11.94 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.3924, allocations: 486.2 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.3936, allocations: 358.1 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007892/0.3944, allocations: 239.5 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.3958, allocations: 0.8645 MB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000896/0.3967, allocations: 0.5011 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.3972, allocations: 235.2 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006857/0.3979, allocations: 295 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.3981, allocations: 28 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000822/0.3989, allocations: 339.4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.3992, allocations: 147.6 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.3997, allocations: 218.9 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.4009, allocations: 0.8257 MB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.4009, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.82e-07/0.401, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.627e-05/0.401, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 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.001938/0.4029, allocations: 0.7988 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.403, allocations: 12.03 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002964/0.406, allocations: 0.6867 MB / 1.082 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/0.4068, allocations: 455.8 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.4069, allocations: 25.02 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.407, allocations: 32.12 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.4088, allocations: 0.8356 MB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.4089, allocations: 4 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.4089, allocations: 8 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/0.4091, allocations: 60.58 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002165/0.4113, allocations: 0.9272 MB / 1.084 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.4161, allocations: 2.875 MB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.4179, allocations: 0.5488 MB / 1.087 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00085/0.4187, allocations: 308.6 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.4189, allocations: 89.09 kB / 1.088 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.419, allocations: 38.56 kB / 1.088 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.985e-06/0.419, allocations: 0 / 1.088 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of matching and sorting (n=32): time 0.01408/0.4331, allocations: 3.498 MB / 1.091 GB, free: 2.262 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.4332, allocations: 55.41 kB / 1.091 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/0.434, allocations: 396.4 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/0.4341, allocations: 33.7 kB / 1.092 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.4344, allocations: 231.9 kB / 1.092 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.4345, allocations: 106.4 kB / 1.092 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.4348, allocations: 85.62 kB / 1.092 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.435, allocations: 354.8 kB / 1.092 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.4361, allocations: 388.5 kB / 1.093 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.4372, allocations: 472.1 kB / 1.093 GB, free: 108 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.4397, allocations: 0.8395 MB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4397, allocations: 0 / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005885/0.4456, allocations: 1.654 MB / 1.096 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.4456, allocations: 15.88 kB / 1.096 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.4457, allocations: 0 / 1.096 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/0.45, allocations: 0.8764 MB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/0.4508, allocations: 131.8 kB / 1.097 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.4608, allocations: 6.186 MB / 1.103 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.462, allocations: 111.8 kB / 1.103 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.4622, allocations: 15.98 kB / 1.103 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001564/0.4637, allocations: 0.5739 MB / 1.103 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001216/0.465, allocations: 452.9 kB / 1.104 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0021/0.4671, allocations: 0.8079 MB / 1.105 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.38e-06/0.4671, allocations: 0 / 1.105 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005394/0.4725, allocations: 1.641 MB / 1.106 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4726, allocations: 8.188 kB / 1.106 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4726, allocations: 11.92 kB / 1.106 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/0.4755, allocations: 0.6352 MB / 1.107 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007107/0.4762, allocations: 139.8 kB / 1.107 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009325/0.4856, allocations: 6.772 MB / 1.114 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.4867, allocations: 103.8 kB / 1.114 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4868, allocations: 15.98 kB / 1.114 GB, free: 10.01 MB / 0.8731 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003494/0.4872, allocations: 208.7 kB / 1.114 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.4874, allocations: 31.62 kB / 1.114 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.4928, allocations: 1.549 MB / 1.115 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.4928, allocations: 4 kB / 1.115 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4928, allocations: 0 / 1.115 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4928, allocations: 7.984 kB / 1.115 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005828/0.4987, allocations: 2.194 MB / 1.118 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4987, allocations: 0 / 1.118 GB, free: 5.918 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.4991, allocations: 84 kB / 1.118 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/0.5027, allocations: 0.8137 MB / 1.118 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/0.5027, allocations: 12 kB / 1.118 GB, free: 5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007386/0.5101, allocations: 6.032 MB / 1.124 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5101, allocations: 4.031 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/0.5147, allocations: 1.53 MB / 1.126 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.515, allocations: 176.6 kB / 1.126 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.5151, allocations: 4 kB / 1.126 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.5158, allocations: 83.86 kB / 1.126 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.516, allocations: 31.95 kB / 1.126 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.516, allocations: 4 kB / 1.126 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004495/0.5165, allocations: 315.1 kB / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5165, allocations: 0 / 1.126 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001083/0.5176, allocations: 243.9 kB / 1.127 GB, free: 12.14 MB / 0.8887 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002245/0.5178, allocations: 115.2 kB / 1.127 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004684/0.5225, allocations: 2.209 MB / 1.129 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5225, allocations: 0 / 1.129 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.524, allocations: 0.8087 MB / 1.13 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.5248, allocations: 118.5 kB / 1.13 GB, free: 8.754 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5272, allocations: 1.303 MB / 1.131 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.5278, allocations: 0.9258 MB / 1.132 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006379/0.5285, allocations: 171.1 kB / 1.132 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.5287, allocations: 35.42 kB / 1.132 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of SimCode: time 7.72e-07/0.5287, allocations: 0 / 1.132 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of Templates: time 0.02501/0.5537, allocations: 14.1 MB / 1.146 GB, free: 8.227 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)