Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 391.2 MB / 407 MB, free: 10.76 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001251, allocations: 200.8 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 111.4 kB / 0.9329 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 51.98 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2956, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01165/0.3073, allocations: 14.58 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.3194, allocations: 10.44 MB / 1.243 GB, free: 92.03 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.3219, allocations: 55.62 kB / 1.243 GB, free: 91.97 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.3257, allocations: 1.582 MB / 1.244 GB, free: 90.39 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.3307, allocations: 1.605 MB / 1.246 GB, free: 88.79 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.3326, allocations: 0.6855 MB / 1.246 GB, free: 88.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003432/0.3361, allocations: 3.433 MB / 1.25 GB, free: 84.66 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.3376, allocations: 1.364 MB / 1.251 GB, free: 83.26 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.3393, allocations: 1.398 MB / 1.252 GB, free: 81.86 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.3405, allocations: 1.164 MB / 1.254 GB, free: 80.69 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.3407, allocations: 100 kB / 1.254 GB, free: 80.59 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.3421, allocations: 0.8812 MB / 1.255 GB, free: 79.71 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.3425, allocations: 0.5451 MB / 1.255 GB, free: 79.16 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007369/0.3432, allocations: 0.8858 MB / 1.256 GB, free: 78.27 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.3452, allocations: 2.737 MB / 1.259 GB, free: 75.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.3453, allocations: 0 / 1.259 GB, free: 75.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3453, allocations: 0 / 1.259 GB, free: 75.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.891e-05/0.3453, allocations: 0 / 1.259 GB, free: 75.52 MB / 0.823 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.003161/0.3485, allocations: 2.171 MB / 1.261 GB, free: 73.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3485, allocations: 15.92 kB / 1.261 GB, free: 73.28 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.3589, allocations: 2.109 MB / 1.263 GB, free: 71.17 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.3617, allocations: 1.21 MB / 1.264 GB, free: 69.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.3617, allocations: 82.69 kB / 1.264 GB, free: 69.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.362, allocations: 124 kB / 1.264 GB, free: 69.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005035/0.367, allocations: 2.678 MB / 1.267 GB, free: 66.87 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.931e-05/0.3671, allocations: 7.938 kB / 1.267 GB, free: 66.86 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.3672, allocations: 47.98 kB / 1.267 GB, free: 66.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006017/0.3678, allocations: 194.1 kB / 1.267 GB, free: 66.62 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006664/0.3745, allocations: 2.795 MB / 1.27 GB, free: 63.82 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.3867, allocations: 10.5 MB / 1.28 GB, free: 52.75 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005964/0.3927, allocations: 2.336 MB / 1.282 GB, free: 50.38 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.3956, allocations: 1.277 MB / 1.284 GB, free: 49.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.924e-05/0.3957, allocations: 9 kB / 1.284 GB, free: 49.09 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.3957, allocations: 51.5 kB / 1.284 GB, free: 49.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.3957, allocations: 7.938 kB / 1.284 GB, free: 49.03 MB / 0.823 GB Notification: Performance of matching and sorting (n=153): time 0.05348/0.4492, allocations: 16.47 MB / 1.3 GB, free: 32.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4493, allocations: 68.72 kB / 1.3 GB, free: 32.32 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.4506, allocations: 1.18 MB / 1.301 GB, free: 31.13 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.4508, allocations: 49.7 kB / 1.301 GB, free: 31.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.4512, allocations: 0.7475 MB / 1.302 GB, free: 30.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.4516, allocations: 0.5082 MB / 1.302 GB, free: 29.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/0.4521, allocations: 291.4 kB / 1.302 GB, free: 29.51 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.4521, allocations: 317 kB / 1.303 GB, free: 29.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.4552, allocations: 1.507 MB / 1.304 GB, free: 27.69 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/0.4585, allocations: 1.776 MB / 1.306 GB, free: 25.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006514/0.4651, allocations: 3.369 MB / 1.309 GB, free: 22.35 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4651, allocations: 0 / 1.309 GB, free: 22.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01222/0.4773, allocations: 5.277 MB / 1.314 GB, free: 17.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4774, allocations: 13.23 kB / 1.314 GB, free: 17.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4774, allocations: 8 kB / 1.314 GB, free: 17.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006418/0.4838, allocations: 1.87 MB / 1.316 GB, free: 15.12 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.4859, allocations: 419.3 kB / 1.317 GB, free: 14.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02333/0.5092, allocations: 22.19 MB / 1.338 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.5121, allocations: 311.5 kB / 1.339 GB, free: 7.156 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.5124, allocations: 67.97 kB / 1.339 GB, free: 7.09 MB / 0.8386 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.0008763/0.5133, allocations: 461.4 kB / 1.339 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.5136, allocations: 181.8 kB / 1.339 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.5273, allocations: 5.312 MB / 1.344 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.5273, allocations: 16 kB / 1.344 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.403e-05/0.5274, allocations: 24 kB / 1.345 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.5274, allocations: 7.969 kB / 1.345 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/0.5466, allocations: 7.425 MB / 1.352 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.5466, allocations: 4 kB / 1.352 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/0.5484, allocations: 355.2 kB / 1.352 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/0.5545, allocations: 1.711 MB / 1.354 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.5548, allocations: 47.91 kB / 1.354 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/0.581, allocations: 21.35 MB / 1.375 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.5811, allocations: 4.031 kB / 1.375 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/0.5994, allocations: 7.724 MB / 1.382 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/0.6006, allocations: 494.8 kB / 1.383 GB, free: 8.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002298/0.6009, allocations: 28 kB / 1.383 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/0.603, allocations: 323.5 kB / 1.383 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006659/0.6037, allocations: 145 kB / 1.383 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.6038, allocations: 55.97 kB / 1.383 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001051/0.6049, allocations: 0.7938 MB / 1.384 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6049, allocations: 0 / 1.384 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002532/0.6074, allocations: 0.6562 MB / 1.385 GB, free: 6.605 MB / 0.8855 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.0003179/0.6078, allocations: 141.5 kB / 1.385 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0113/0.6191, allocations: 5.147 MB / 1.39 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.6191, allocations: 0 / 1.39 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007162/0.6263, allocations: 3.351 MB / 1.393 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.629, allocations: 0.5093 MB / 1.394 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.6394, allocations: 5.836 MB / 1.399 GB, free: 7.348 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.641, allocations: 1.623 MB / 1.401 GB, free: 5.688 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001813/0.6428, allocations: 390.4 kB / 1.401 GB, free: 5.301 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/0.6432, allocations: 107.4 kB / 1.401 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of SimCode: time 9.32e-07/0.6432, allocations: 0 / 1.401 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of Templates: time 0.6406/1.284, allocations: 44.9 MB / 1.445 GB, free: 180.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)