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_R_N.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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 285.4 MB / 298 MB, free: 5.965 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.001442/0.001442, allocations: 180.8 kB / 366.4 MB, free: 2.082 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.563/1.563, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 94.22 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.251e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.575/0.5751, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.765, allocations: 171.5 MB / 1.138 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.7653, allocations: 99.92 kB / 1.138 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.9098/1.675, allocations: 201.3 MB / 1.335 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.823e-06/1.675, allocations: 0 / 1.335 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004504/1.676, allocations: 136.3 kB / 1.335 GB, free: 183.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.016/1.692, allocations: 4.867 MB / 1.34 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.692, allocations: 15.38 kB / 1.34 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008028/1.7, allocations: 1.137 MB / 1.341 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009907/1.71, allocations: 3.689 MB / 1.345 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/1.71, allocations: 430.4 kB / 1.345 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002685/1.713, allocations: 0.5499 MB / 1.346 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/1.733, allocations: 8.718 MB / 1.354 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002206/1.733, allocations: 19.06 kB / 1.354 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001677/1.735, allocations: 254.8 kB / 1.354 GB, free: 174 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000307/1.735, allocations: 297.8 kB / 1.355 GB, free: 174 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/1.751, allocations: 6.328 MB / 1.361 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04305/1.794, allocations: 41.45 MB / 1.401 GB, free: 136 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/1.798, allocations: 3.079 MB / 1.404 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/1.8, allocations: 2.133 MB / 1.406 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/1.801, allocations: 25.95 kB / 1.406 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/1.801, allocations: 56.56 kB / 1.406 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 3.637e-06/1.801, allocations: 0 / 1.406 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.0104/1.811, allocations: 6.586 MB / 1.413 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/1.811, allocations: 77.41 kB / 1.413 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/1.814, allocations: 1.649 MB / 1.415 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001874/1.814, allocations: 65.7 kB / 1.415 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/1.815, allocations: 2.364 MB / 1.417 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005232/1.815, allocations: 0.7283 MB / 1.418 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/1.815, allocations: 52 kB / 1.418 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.816, allocations: 411.1 kB / 1.418 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.817, allocations: 1.297 MB / 1.419 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/1.819, allocations: 2.078 MB / 1.421 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/1.821, allocations: 1.669 MB / 1.423 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.032e-05/1.821, allocations: 8 kB / 1.423 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.007294/1.828, allocations: 4.932 MB / 1.428 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.828, allocations: 16 kB / 1.428 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/1.829, allocations: 24 kB / 1.428 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/1.831, allocations: 1.534 MB / 1.429 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/1.833, allocations: 447.2 kB / 1.43 GB, free: 108.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01669/1.85, allocations: 16.94 MB / 1.446 GB, free: 90.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.852, allocations: 147.9 kB / 1.447 GB, free: 90.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004322/1.853, allocations: 112 kB / 1.447 GB, free: 90.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005629/1.853, allocations: 265.2 kB / 1.447 GB, free: 90.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/1.854, allocations: 288.6 kB / 1.447 GB, free: 89.85 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/1.86, allocations: 4.418 MB / 1.451 GB, free: 85.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.86, allocations: 20 kB / 1.451 GB, free: 85.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.86, allocations: 20 kB / 1.452 GB, free: 85.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.86, allocations: 11.95 kB / 1.452 GB, free: 85.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/1.876, allocations: 9.6 MB / 1.461 GB, free: 75.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/1.876, allocations: 4 kB / 1.461 GB, free: 75.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.877, allocations: 235.6 kB / 1.461 GB, free: 75.42 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002923/1.88, allocations: 1.394 MB / 1.462 GB, free: 74.02 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002313/1.88, allocations: 40 kB / 1.463 GB, free: 73.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/1.897, allocations: 16.97 MB / 1.479 GB, free: 56.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.897, allocations: 8 kB / 1.479 GB, free: 56.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006188/1.903, allocations: 4.833 MB / 1.484 GB, free: 51.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.904, allocations: 0.6264 MB / 1.484 GB, free: 50.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/1.905, allocations: 47.98 kB / 1.484 GB, free: 50.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.906, allocations: 111.9 kB / 1.485 GB, free: 50.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/1.907, allocations: 181.6 kB / 1.485 GB, free: 50.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.907, allocations: 60 kB / 1.485 GB, free: 50.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001476/1.908, allocations: 1.244 MB / 1.486 GB, free: 49.15 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.908, allocations: 0 / 1.486 GB, free: 49.15 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003316/1.912, allocations: 1.18 MB / 1.487 GB, free: 47.97 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003409/1.912, allocations: 167.1 kB / 1.487 GB, free: 47.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006019/1.918, allocations: 4.54 MB / 1.492 GB, free: 43.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.918, allocations: 0 / 1.492 GB, free: 43.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003819/1.922, allocations: 2.873 MB / 1.495 GB, free: 40.29 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.925, allocations: 0.7559 MB / 1.495 GB, free: 39.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.937, allocations: 7.46 MB / 1.503 GB, free: 31.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/1.941, allocations: 3.783 MB / 1.506 GB, free: 28.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002271/1.943, allocations: 0.5489 MB / 1.507 GB, free: 27.64 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/1.944, allocations: 151.4 kB / 1.507 GB, free: 27.49 MB / 0.8542 GB Notification: Performance of SimCode: time 3.216e-06/1.944, allocations: 0 / 1.507 GB, free: 27.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.07977/2.023, allocations: 47.56 MB / 1.553 GB, free: 12.51 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)