Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.223/2.223, allocations: 391.2 MB / 407 MB, free: 10.86 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.001146/0.001146, allocations: 185.4 kB / 499.1 MB, free: 4.695 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.44/1.44, allocations: 222.9 MB / 0.7948 GB, free: 15.74 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.001137/0.001137, allocations: 106.6 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 52.64 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2833, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02509/0.3084, allocations: 32.21 MB / 1.25 GB, free: 84.92 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.3221, allocations: 10.33 MB / 1.26 GB, free: 74.56 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.3254, allocations: 131.3 kB / 1.26 GB, free: 74.43 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.007586/0.3331, allocations: 3.484 MB / 1.263 GB, free: 70.94 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006017/0.3391, allocations: 1.731 MB / 1.265 GB, free: 69.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004899/0.344, allocations: 1.937 MB / 1.267 GB, free: 67.27 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.008652/0.3527, allocations: 10.62 MB / 1.277 GB, free: 56.62 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01241/0.3652, allocations: 10.62 MB / 1.288 GB, free: 45.88 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004002/0.3692, allocations: 2.729 MB / 1.29 GB, free: 43.14 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.3734, allocations: 3.548 MB / 1.294 GB, free: 39.59 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000844/0.3743, allocations: 452 kB / 1.294 GB, free: 39.14 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.3778, allocations: 1.884 MB / 1.296 GB, free: 37.26 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.3797, allocations: 2.339 MB / 1.298 GB, free: 34.91 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.3826, allocations: 2.66 MB / 1.301 GB, free: 32.24 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.007594/0.3902, allocations: 9.983 MB / 1.311 GB, free: 22.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3903, allocations: 0 / 1.311 GB, free: 22.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3903, allocations: 4 kB / 1.311 GB, free: 22.23 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002718/0.3906, allocations: 4 kB / 1.311 GB, free: 22.22 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0103/0.4009, allocations: 4.992 MB / 1.315 GB, free: 17.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4009, allocations: 15.92 kB / 1.315 GB, free: 17.14 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/0.4056, allocations: 0.9551 MB / 1.316 GB, free: 16.18 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.4112, allocations: 2.862 MB / 1.319 GB, free: 13.26 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.4114, allocations: 345.7 kB / 1.319 GB, free: 12.92 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009732/0.4124, allocations: 460.2 kB / 1.32 GB, free: 12.47 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.4238, allocations: 7.667 MB / 1.327 GB, free: 4.457 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.4239, allocations: 31.7 kB / 1.327 GB, free: 4.426 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.4244, allocations: 204 kB / 1.328 GB, free: 4.227 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.4246, allocations: 309 kB / 1.328 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008866/0.4335, allocations: 5.714 MB / 1.334 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/0.4692, allocations: 35.09 MB / 1.368 GB, free: 7.895 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.4717, allocations: 2.161 MB / 1.37 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4732, allocations: 1.268 MB / 1.371 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.4733, allocations: 13.31 kB / 1.371 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4733, allocations: 47.88 kB / 1.371 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=133): time 3.076e-06/0.4733, allocations: 0 / 1.371 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.01287/0.4862, allocations: 7.088 MB / 1.378 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.4863, allocations: 64.72 kB / 1.378 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.4884, allocations: 1.484 MB / 1.38 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.4884, allocations: 49.7 kB / 1.38 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.4896, allocations: 2.012 MB / 1.382 GB, free: 9.219 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003602/0.49, allocations: 489 kB / 1.382 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.4904, allocations: 347.2 kB / 1.382 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.4905, allocations: 301.1 kB / 1.383 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.4917, allocations: 0.9213 MB / 1.384 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.4932, allocations: 1.589 MB / 1.385 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.4962, allocations: 2.733 MB / 1.388 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.4962, allocations: 8 kB / 1.388 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005693/0.5019, allocations: 3.53 MB / 1.391 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.5019, allocations: 12 kB / 1.391 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.502, allocations: 27.94 kB / 1.391 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/0.5045, allocations: 0.9044 MB / 1.392 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.5056, allocations: 351.4 kB / 1.393 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/0.5243, allocations: 21.21 MB / 1.413 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.526, allocations: 99.95 kB / 1.413 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.5262, allocations: 92 kB / 1.413 GB, free: 6.312 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002868/0.529, allocations: 1.609 MB / 1.415 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.5295, allocations: 209.5 kB / 1.415 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/0.5346, allocations: 2.986 MB / 1.418 GB, free: 1.445 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5346, allocations: 16 kB / 1.418 GB, free: 1.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.5346, allocations: 12 kB / 1.418 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.5346, allocations: 3.984 kB / 1.418 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6714/1.206, allocations: 7.338 MB / 1.425 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.206, allocations: 4.031 kB / 1.425 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/1.207, allocations: 180.6 kB / 1.426 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003001/1.21, allocations: 0.8189 MB / 1.426 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/1.21, allocations: 32.06 kB / 1.426 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/1.231, allocations: 20.31 MB / 1.446 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.231, allocations: 5.156 kB / 1.446 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01009/1.242, allocations: 5.212 MB / 1.451 GB, free: 161.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/1.243, allocations: 456.3 kB / 1.452 GB, free: 161.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002559/1.243, allocations: 35.94 kB / 1.452 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/1.244, allocations: 68.78 kB / 1.452 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005853/1.245, allocations: 125.8 kB / 1.452 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.627e-05/1.245, allocations: 42.95 kB / 1.452 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001777/1.247, allocations: 0.9785 MB / 1.453 GB, free: 161 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.21e-07/1.247, allocations: 0 / 1.453 GB, free: 161 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003972/1.251, allocations: 0.7828 MB / 1.454 GB, free: 160.9 MB / 0.9167 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003407/1.251, allocations: 145.7 kB / 1.454 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006313/1.257, allocations: 4.029 MB / 1.458 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.257, allocations: 0 / 1.458 GB, free: 158.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003646/1.261, allocations: 2.73 MB / 1.46 GB, free: 156.6 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/1.265, allocations: 0.6673 MB / 1.461 GB, free: 156.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.281, allocations: 9.965 MB / 1.471 GB, free: 150.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.284, allocations: 3.16 MB / 1.474 GB, free: 149.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001785/1.286, allocations: 451.3 kB / 1.474 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/1.287, allocations: 113.9 kB / 1.474 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of SimCode: time 8.82e-07/1.287, allocations: 0 / 1.474 GB, free: 149.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.05667/1.343, allocations: 35.75 MB / 1.509 GB, free: 117.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)