Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.601/2.601, allocations: 287.5 MB / 303.2 MB, free: 8.25 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.001268/0.001268, allocations: 171.7 kB / 371.8 MB, free: 10.82 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.101/2.101, allocations: 205.4 MB / 0.6305 GB, free: 10.53 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.0008797/0.0008794, allocations: 92.88 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004866, allocations: 14.34 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2162, allocations: 115.3 MB / 0.9793 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9803/1.197, allocations: 206.9 MB / 1.181 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004179/1.197, allocations: 110.5 kB / 1.181 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.3927/1.59, allocations: 84.63 MB / 1.264 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.186e-06/1.59, allocations: 0 / 1.264 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000195/1.59, allocations: 47.86 kB / 1.264 GB, free: 15.48 MB / 0.7917 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.007028/1.597, allocations: 1.784 MB / 1.266 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.597, allocations: 8.031 kB / 1.266 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01966/1.617, allocations: 1.888 MB / 1.268 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/1.621, allocations: 1.266 MB / 1.269 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/1.622, allocations: 90.36 kB / 1.269 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/1.622, allocations: 119.8 kB / 1.269 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/1.633, allocations: 2.748 MB / 1.272 GB, free: 7.281 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/1.633, allocations: 7.938 kB / 1.272 GB, free: 7.273 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/1.634, allocations: 59.97 kB / 1.272 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/1.634, allocations: 86.28 kB / 1.272 GB, free: 7.129 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/1.649, allocations: 2.854 MB / 1.275 GB, free: 4.266 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02743/1.677, allocations: 10.72 MB / 1.285 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/1.69, allocations: 2.586 MB / 1.288 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006294/1.696, allocations: 1.314 MB / 1.289 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/1.696, allocations: 12.94 kB / 1.289 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.696, allocations: 51.5 kB / 1.289 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.687e-06/1.697, allocations: 0 / 1.289 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.09668/1.793, allocations: 14.01 MB / 1.303 GB, free: 6.691 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.793, allocations: 222.9 kB / 1.303 GB, free: 6.422 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/1.796, allocations: 1.117 MB / 1.304 GB, free: 5.289 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00042/1.796, allocations: 45.7 kB / 1.304 GB, free: 5.238 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008707/1.797, allocations: 0.7119 MB / 1.305 GB, free: 4.52 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008642/1.798, allocations: 449.5 kB / 1.305 GB, free: 4.074 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/1.798, allocations: 24 kB / 1.305 GB, free: 4.051 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.798, allocations: 357.9 kB / 1.306 GB, free: 3.695 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006405/1.805, allocations: 1.372 MB / 1.307 GB, free: 2.324 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/1.812, allocations: 1.638 MB / 1.309 GB, free: 0.582 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/1.825, allocations: 3.019 MB / 1.312 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.825, allocations: 3.938 kB / 1.312 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.02305/1.848, allocations: 4.556 MB / 1.316 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/1.848, allocations: 8 kB / 1.316 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.848, allocations: 7.938 kB / 1.316 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/1.861, allocations: 1.618 MB / 1.318 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004019/1.865, allocations: 439.3 kB / 1.318 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04293/1.908, allocations: 24.83 MB / 1.342 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004696/1.912, allocations: 319.5 kB / 1.343 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/1.913, allocations: 63.91 kB / 1.343 GB, free: 11.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001529/1.914, allocations: 433.5 kB / 1.343 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000618/1.915, allocations: 166.1 kB / 1.343 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02334/1.938, allocations: 4.593 MB / 1.348 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.938, allocations: 16 kB / 1.348 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.708e-05/1.939, allocations: 12 kB / 1.348 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/1.939, allocations: 11.97 kB / 1.348 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/1.969, allocations: 7.024 MB / 1.355 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/1.969, allocations: 0 / 1.355 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/1.973, allocations: 395.7 kB / 1.355 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.984, allocations: 1.506 MB / 1.356 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004044/1.985, allocations: 43.95 kB / 1.356 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04054/2.025, allocations: 23.88 MB / 1.38 GB, free: 3.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/2.025, allocations: 8.156 kB / 1.38 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02175/2.047, allocations: 4.368 MB / 1.384 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/2.049, allocations: 471 kB / 1.385 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005154/2.05, allocations: 28 kB / 1.385 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004222/2.054, allocations: 319.6 kB / 1.385 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/2.055, allocations: 132.6 kB / 1.385 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002438/2.055, allocations: 47.97 kB / 1.385 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001775/2.057, allocations: 0.7487 MB / 1.386 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.11e-07/2.057, allocations: 4 kB / 1.386 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00369/2.06, allocations: 0.6055 MB / 1.386 GB, free: 12.92 MB / 0.9167 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006098/2.061, allocations: 161.1 kB / 1.386 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01965/2.081, allocations: 5.181 MB / 1.392 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/2.081, allocations: 0 / 1.392 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01603/2.097, allocations: 3.566 MB / 1.395 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008037/2.105, allocations: 0.4952 MB / 1.396 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/2.129, allocations: 4.527 MB / 1.4 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/2.131, allocations: 1.477 MB / 1.401 GB, free: 13.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00318/2.135, allocations: 421.4 kB / 1.402 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/2.135, allocations: 111.4 kB / 1.402 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/2.135, allocations: 0 / 1.402 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of Templates: time 0.7496/2.885, allocations: 37.67 MB / 1.439 GB, free: 289.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)