Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001304/0.001304, allocations: 192.2 kB / 16.14 MB, free: 6.695 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.845/2.845, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 62.09 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3812, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01727/0.3985, allocations: 14.7 MB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.4156, allocations: 10.36 MB / 1.092 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.4173, allocations: 59.56 kB / 1.092 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003974/0.4213, allocations: 1.586 MB / 1.094 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006112/0.4275, allocations: 1.6 MB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.4303, allocations: 0.6824 MB / 1.096 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007436/0.4377, allocations: 3.4 MB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003938/0.4417, allocations: 1.356 MB / 1.1 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.4455, allocations: 1.394 MB / 1.102 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00281/0.4483, allocations: 1.171 MB / 1.103 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003808/0.4487, allocations: 96 kB / 1.103 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.4514, allocations: 0.889 MB / 1.104 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008536/0.4523, allocations: 0.5373 MB / 1.104 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.4539, allocations: 0.8897 MB / 1.105 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004499/0.4584, allocations: 2.729 MB / 1.108 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4585, allocations: 4 kB / 1.108 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.247e-06/0.4585, allocations: 0 / 1.108 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.689e-05/0.4586, allocations: 3.938 kB / 1.108 GB, free: 1.289 MB / 0.8575 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.006362/0.4649, allocations: 2.162 MB / 1.11 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.465, allocations: 8.031 kB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01678/0.4818, allocations: 2.101 MB / 1.112 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.4848, allocations: 1.221 MB / 1.113 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/0.485, allocations: 90.62 kB / 1.113 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.4853, allocations: 124 kB / 1.114 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005788/0.4911, allocations: 2.67 MB / 1.116 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.4911, allocations: 7.938 kB / 1.116 GB, free: 8.641 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.4913, allocations: 51.98 kB / 1.116 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006609/0.492, allocations: 198.1 kB / 1.116 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00732/0.4993, allocations: 2.787 MB / 1.119 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.5145, allocations: 10.51 MB / 1.129 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006233/0.5208, allocations: 2.336 MB / 1.132 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003133/0.524, allocations: 1.276 MB / 1.133 GB, free: 6.863 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.998e-05/0.5241, allocations: 9 kB / 1.133 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.5241, allocations: 47.5 kB / 1.133 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=89): time 5.38e-06/0.5242, allocations: 0 / 1.133 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153): time 0.06073/0.5849, allocations: 16.48 MB / 1.149 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.585, allocations: 68.7 kB / 1.149 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.5871, allocations: 1.184 MB / 1.15 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/0.5873, allocations: 45.7 kB / 1.15 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.588, allocations: 0.7515 MB / 1.151 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000764/0.5888, allocations: 0.5159 MB / 1.152 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006493/0.5894, allocations: 287.4 kB / 1.152 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5896, allocations: 305.1 kB / 1.152 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/0.5931, allocations: 1.514 MB / 1.154 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003831/0.597, allocations: 1.78 MB / 1.155 GB, free: 15.57 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007154/0.6042, allocations: 3.365 MB / 1.159 GB, free: 12.11 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.6042, allocations: 4 kB / 1.159 GB, free: 12.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01385/0.618, allocations: 5.272 MB / 1.164 GB, free: 6.789 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.6181, allocations: 8.875 kB / 1.164 GB, free: 6.781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.6181, allocations: 8 kB / 1.164 GB, free: 6.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007328/0.6255, allocations: 1.885 MB / 1.166 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.6274, allocations: 411.3 kB / 1.166 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02947/0.6569, allocations: 22.18 MB / 1.188 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.6601, allocations: 315.4 kB / 1.188 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000564/0.6607, allocations: 63.97 kB / 1.188 GB, free: 12.86 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001294/0.662, allocations: 459.1 kB / 1.189 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006339/0.6626, allocations: 177.9 kB / 1.189 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.6767, allocations: 5.324 MB / 1.194 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-05/0.6768, allocations: 19.94 kB / 1.194 GB, free: 6.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.283e-05/0.6769, allocations: 20 kB / 1.194 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.6769, allocations: 11.91 kB / 1.194 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01763/0.6946, allocations: 7.414 MB / 1.201 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.6946, allocations: 4 kB / 1.201 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/0.6964, allocations: 359.7 kB / 1.202 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006584/0.703, allocations: 1.697 MB / 1.203 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003525/0.7034, allocations: 47.91 kB / 1.203 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/0.7327, allocations: 21.36 MB / 1.224 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7327, allocations: 0 / 1.224 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.7459, allocations: 4.889 MB / 1.229 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/0.7474, allocations: 494.8 kB / 1.229 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/0.7481, allocations: 32 kB / 1.229 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/0.7505, allocations: 319.5 kB / 1.23 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007103/0.7512, allocations: 149 kB / 1.23 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.7514, allocations: 51.95 kB / 1.23 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001517/0.753, allocations: 0.786 MB / 1.231 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.974e-06/0.753, allocations: 4 kB / 1.231 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003003/0.756, allocations: 0.664 MB / 1.231 GB, free: 15.25 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004296/0.7564, allocations: 142.2 kB / 1.231 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01265/0.7691, allocations: 5.136 MB / 1.236 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.7692, allocations: 4 kB / 1.236 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007801/0.777, allocations: 3.351 MB / 1.24 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/0.7809, allocations: 0.5132 MB / 1.24 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/0.7925, allocations: 4.996 MB / 1.245 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6167/1.409, allocations: 1.567 MB / 1.247 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00212/1.411, allocations: 383.6 kB / 1.247 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/1.412, allocations: 105 kB / 1.247 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.302e-06/1.412, allocations: 0 / 1.247 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08713/1.499, allocations: 43.32 MB / 1.289 GB, free: 154.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)