Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 293 MB / 309 MB, free: 4.797 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.001206/0.001206, allocations: 176.6 kB / 378.7 MB, free: 1 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.865/1.865, allocations: 205.4 MB / 0.6383 GB, free: 8.215 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.000781/0.000781, allocations: 88.25 kB / 0.7527 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2736, allocations: 116.4 MB / 0.9905 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7879/1.062, allocations: 208.1 MB / 1.194 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.062, allocations: 100.7 kB / 1.194 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.204/1.266, allocations: 84.65 MB / 1.276 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.354e-06/1.266, allocations: 0 / 1.276 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.961e-05/1.266, allocations: 39.94 kB / 1.276 GB, free: 15.75 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003518/1.27, allocations: 1.792 MB / 1.278 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.27, allocations: 8.031 kB / 1.278 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/1.28, allocations: 1.88 MB / 1.28 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/1.283, allocations: 1.266 MB / 1.281 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/1.283, allocations: 94.36 kB / 1.281 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/1.283, allocations: 135.8 kB / 1.282 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005851/1.289, allocations: 2.74 MB / 1.284 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/1.289, allocations: 8 kB / 1.284 GB, free: 7.523 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/1.289, allocations: 55.98 kB / 1.284 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.29, allocations: 82.3 kB / 1.284 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007204/1.297, allocations: 2.854 MB / 1.287 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/1.315, allocations: 10.73 MB / 1.298 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006462/1.322, allocations: 2.587 MB / 1.3 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/1.325, allocations: 1.303 MB / 1.301 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/1.325, allocations: 12.98 kB / 1.301 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.325, allocations: 51.5 kB / 1.301 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=89): time 3.957e-06/1.325, allocations: 0 / 1.301 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.04395/1.369, allocations: 14 MB / 1.315 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.37, allocations: 226.9 kB / 1.315 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/1.371, allocations: 1.117 MB / 1.316 GB, free: 5.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002784/1.372, allocations: 49.7 kB / 1.317 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/1.372, allocations: 0.708 MB / 1.317 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/1.373, allocations: 449.5 kB / 1.318 GB, free: 4.355 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.373, allocations: 28 kB / 1.318 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.373, allocations: 357.9 kB / 1.318 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/1.376, allocations: 1.369 MB / 1.319 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003323/1.379, allocations: 1.638 MB / 1.321 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006561/1.386, allocations: 3.018 MB / 1.324 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.386, allocations: 4 kB / 1.324 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.012/1.398, allocations: 4.547 MB / 1.328 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/1.398, allocations: 12.92 kB / 1.328 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.398, allocations: 11.94 kB / 1.328 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/1.404, allocations: 1.611 MB / 1.33 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/1.407, allocations: 447.2 kB / 1.33 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/1.433, allocations: 24.83 MB / 1.355 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/1.436, allocations: 319.5 kB / 1.355 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/1.436, allocations: 63.91 kB / 1.355 GB, free: 12.09 MB / 0.9323 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.001097/1.438, allocations: 441.5 kB / 1.355 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/1.438, allocations: 158.1 kB / 1.356 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.45, allocations: 4.601 MB / 1.36 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.45, allocations: 12 kB / 1.36 GB, free: 6.832 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.065e-05/1.45, allocations: 12 kB / 1.36 GB, free: 6.82 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/1.45, allocations: 7.984 kB / 1.36 GB, free: 6.812 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5561/2.006, allocations: 7.01 MB / 1.367 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/2.006, allocations: 2.312 kB / 1.367 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/2.008, allocations: 396.4 kB / 1.367 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00551/2.013, allocations: 1.502 MB / 1.369 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/2.013, allocations: 41.56 kB / 1.369 GB, free: 217.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/2.033, allocations: 23.87 MB / 1.392 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/2.033, allocations: 3 kB / 1.392 GB, free: 201.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/2.045, allocations: 4.368 MB / 1.396 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/2.046, allocations: 474.3 kB / 1.397 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/2.046, allocations: 25.39 kB / 1.397 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/2.048, allocations: 322.1 kB / 1.397 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005372/2.049, allocations: 130.6 kB / 1.397 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/2.049, allocations: 47.42 kB / 1.397 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001203/2.05, allocations: 0.7517 MB / 1.398 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.1e-07/2.05, allocations: 1 kB / 1.398 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002163/2.052, allocations: 0.6043 MB / 1.399 GB, free: 200.7 MB / 0.9323 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.0003325/2.053, allocations: 160.4 kB / 1.399 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01251/2.065, allocations: 5.18 MB / 1.404 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/2.065, allocations: 8.328 kB / 1.404 GB, free: 199.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006767/2.072, allocations: 3.556 MB / 1.407 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/2.075, allocations: 0.5009 MB / 1.408 GB, free: 197.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007429/2.082, allocations: 4.52 MB / 1.412 GB, free: 196 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/2.084, allocations: 1.474 MB / 1.414 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00181/2.085, allocations: 426 kB / 1.414 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/2.086, allocations: 111.9 kB / 1.414 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of SimCode: time 7.82e-07/2.086, allocations: 0 / 1.414 GB, free: 195.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.05781/2.144, allocations: 38.03 MB / 1.451 GB, free: 193.7 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)