Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.967/1.967, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.00117/0.00117, allocations: 183.6 kB / 371.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.001274/0.001274, allocations: 99.28 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004067, allocations: 16.38 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2367, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8373/1.074, allocations: 170.9 MB / 1.146 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.074, allocations: 96.53 kB / 1.146 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4605/1.535, allocations: 180.5 MB / 1.323 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.967e-06/1.535, allocations: 0 / 1.323 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000795/1.536, allocations: 115.9 kB / 1.323 GB, free: 1.336 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0198/1.556, allocations: 4.108 MB / 1.327 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/1.556, allocations: 16.02 kB / 1.327 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/1.564, allocations: 0.9425 MB / 1.328 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01068/1.575, allocations: 2.999 MB / 1.331 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/1.576, allocations: 349.3 kB / 1.331 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/1.579, allocations: 467.8 kB / 1.331 GB, free: 8.332 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/1.605, allocations: 7.31 MB / 1.339 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004229/1.606, allocations: 31.77 kB / 1.339 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002374/1.608, allocations: 204 kB / 1.339 GB, free: 344 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004522/1.609, allocations: 277 kB / 1.339 GB, free: 64 kB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01824/1.627, allocations: 5.18 MB / 1.344 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05633/1.683, allocations: 35.08 MB / 1.378 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/1.687, allocations: 2.14 MB / 1.381 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/1.687, allocations: 17.31 kB / 1.381 GB, free: 2.301 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/1.687, allocations: 47.81 kB / 1.381 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=133): time 3.407e-06/1.687, allocations: 0 / 1.381 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.0164/1.703, allocations: 7.061 MB / 1.387 GB, free: 10.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/1.703, allocations: 76.61 kB / 1.388 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/1.706, allocations: 1.276 MB / 1.389 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/1.706, allocations: 45.7 kB / 1.389 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/1.708, allocations: 1.984 MB / 1.391 GB, free: 7.449 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/1.708, allocations: 489 kB / 1.391 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.708, allocations: 36 kB / 1.391 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.709, allocations: 381.9 kB / 1.392 GB, free: 6.551 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/1.71, allocations: 0.8979 MB / 1.393 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/1.712, allocations: 1.552 MB / 1.394 GB, free: 3.797 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/1.714, allocations: 1.17 MB / 1.395 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/1.714, allocations: 8 kB / 1.395 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006682/1.721, allocations: 3.48 MB / 1.399 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.721, allocations: 15.95 kB / 1.399 GB, free: 15.07 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.365e-05/1.721, allocations: 32.11 kB / 1.399 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/1.723, allocations: 0.8882 MB / 1.399 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.725, allocations: 359.3 kB / 1.4 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/1.746, allocations: 21.54 MB / 1.421 GB, free: 6.621 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/1.749, allocations: 99.92 kB / 1.421 GB, free: 6.523 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/1.749, allocations: 88.48 kB / 1.421 GB, free: 6.438 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004377/1.754, allocations: 1.608 MB / 1.423 GB, free: 4.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007478/1.754, allocations: 201.6 kB / 1.423 GB, free: 4.621 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006221/1.761, allocations: 2.978 MB / 1.426 GB, free: 1.594 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.761, allocations: 16 kB / 1.426 GB, free: 1.578 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.761, allocations: 12 kB / 1.426 GB, free: 1.566 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.761, allocations: 7.969 kB / 1.426 GB, free: 1.559 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7063/2.467, allocations: 7.26 MB / 1.433 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/2.467, allocations: 5.281 kB / 1.433 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/2.468, allocations: 180.4 kB / 1.433 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003727/2.472, allocations: 0.8242 MB / 1.434 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/2.472, allocations: 27.88 kB / 1.434 GB, free: 235.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03044/2.503, allocations: 20.62 MB / 1.454 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/2.503, allocations: 13.88 kB / 1.454 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/2.513, allocations: 3.295 MB / 1.457 GB, free: 220 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/2.516, allocations: 458.7 kB / 1.458 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/2.517, allocations: 31.11 kB / 1.458 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002241/2.519, allocations: 72.19 kB / 1.458 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008119/2.52, allocations: 126.5 kB / 1.458 GB, free: 219.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/2.52, allocations: 35.66 kB / 1.458 GB, free: 219.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003854/2.524, allocations: 0.9629 MB / 1.459 GB, free: 219.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.31e-07/2.524, allocations: 0 / 1.459 GB, free: 219.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00676/2.531, allocations: 0.8231 MB / 1.46 GB, free: 219.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005201/2.531, allocations: 150.4 kB / 1.46 GB, free: 219.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007274/2.539, allocations: 3.982 MB / 1.464 GB, free: 218.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.539, allocations: 0.875 kB / 1.464 GB, free: 218.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004797/2.543, allocations: 2.734 MB / 1.466 GB, free: 216.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/2.548, allocations: 0.6423 MB / 1.467 GB, free: 216.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/2.571, allocations: 8.698 MB / 1.475 GB, free: 212.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008666/2.58, allocations: 3.189 MB / 1.479 GB, free: 212.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003084/2.583, allocations: 456.5 kB / 1.479 GB, free: 212.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/2.584, allocations: 112 kB / 1.479 GB, free: 212.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.188e-06/2.584, allocations: 0 / 1.479 GB, free: 212.2 MB / 0.948 GB Notification: Performance of Templates: time 0.0755/2.659, allocations: 33.42 MB / 1.512 GB, free: 211 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)