Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.263/2.263, allocations: 391.2 MB / 407 MB, free: 10.88 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.001308/0.001308, allocations: 207.3 kB / 499.1 MB, free: 4.633 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.515/1.515, allocations: 222.9 MB / 0.7948 GB, free: 15.77 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.0008888/0.0008887, allocations: 114 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 50.39 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01123/0.2964, allocations: 13.85 MB / 1.232 GB, free: 103.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3074, allocations: 9.475 MB / 1.241 GB, free: 93.83 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.3088, allocations: 51.69 kB / 1.241 GB, free: 93.78 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003332/0.3122, allocations: 1.568 MB / 1.242 GB, free: 92.21 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.3162, allocations: 1.401 MB / 1.244 GB, free: 90.81 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.3186, allocations: 0.694 MB / 1.245 GB, free: 90.11 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00413/0.3227, allocations: 3.209 MB / 1.248 GB, free: 86.89 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.3251, allocations: 1.346 MB / 1.249 GB, free: 85.52 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.3269, allocations: 0.9416 MB / 1.25 GB, free: 84.57 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.3287, allocations: 1.152 MB / 1.251 GB, free: 83.41 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002584/0.3289, allocations: 100 kB / 1.251 GB, free: 83.32 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.331, allocations: 0.8812 MB / 1.252 GB, free: 82.43 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006061/0.3316, allocations: 0.5568 MB / 1.252 GB, free: 81.88 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.3327, allocations: 0.8703 MB / 1.253 GB, free: 81 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.3359, allocations: 2.733 MB / 1.256 GB, free: 78.26 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.336, allocations: 0 / 1.256 GB, free: 78.26 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.272e-06/0.336, allocations: 4 kB / 1.256 GB, free: 78.25 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.834e-05/0.336, allocations: 0 / 1.256 GB, free: 78.25 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.005365/0.3414, allocations: 2.131 MB / 1.258 GB, free: 76.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 7.553e-05/0.3415, allocations: 11.98 kB / 1.258 GB, free: 76.05 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.3572, allocations: 2.077 MB / 1.26 GB, free: 73.97 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.361, allocations: 1.208 MB / 1.261 GB, free: 72.71 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.123e-05/0.3611, allocations: 86.73 kB / 1.261 GB, free: 72.62 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000524/0.3617, allocations: 124.1 kB / 1.262 GB, free: 72.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007371/0.369, allocations: 2.679 MB / 1.264 GB, free: 69.67 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/0.3691, allocations: 8 kB / 1.264 GB, free: 69.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.3694, allocations: 55.98 kB / 1.264 GB, free: 69.61 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008345/0.3702, allocations: 178.1 kB / 1.264 GB, free: 69.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.3806, allocations: 2.795 MB / 1.267 GB, free: 66.63 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.4, allocations: 10.5 MB / 1.277 GB, free: 55.55 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008808/0.4089, allocations: 2.535 MB / 1.28 GB, free: 52.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/0.413, allocations: 1.288 MB / 1.281 GB, free: 51.66 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.732e-05/0.4132, allocations: 9 kB / 1.281 GB, free: 51.65 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.4132, allocations: 51.44 kB / 1.281 GB, free: 51.59 MB / 0.823 GB Notification: Performance of pre-optimization done (n=89): time 5.701e-06/0.4133, allocations: 0 / 1.281 GB, free: 51.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=131): time 0.05946/0.4727, allocations: 13.33 MB / 1.294 GB, free: 38.04 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.4728, allocations: 68.72 kB / 1.294 GB, free: 37.96 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.4747, allocations: 1.117 MB / 1.295 GB, free: 36.83 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.475, allocations: 45.7 kB / 1.295 GB, free: 36.78 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.4755, allocations: 0.7194 MB / 1.296 GB, free: 36.05 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000496/0.476, allocations: 449.5 kB / 1.296 GB, free: 35.61 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00063/0.4767, allocations: 263.4 kB / 1.297 GB, free: 35.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.4768, allocations: 365.9 kB / 1.297 GB, free: 34.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/0.4811, allocations: 1.339 MB / 1.298 GB, free: 33.64 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004583/0.4857, allocations: 1.6 MB / 1.3 GB, free: 31.94 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009086/0.4948, allocations: 3.002 MB / 1.303 GB, free: 28.84 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.4949, allocations: 4 kB / 1.303 GB, free: 28.84 MB / 0.823 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01504/0.51, allocations: 4.442 MB / 1.307 GB, free: 24.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.5101, allocations: 10.28 kB / 1.307 GB, free: 24.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.5101, allocations: 4 kB / 1.307 GB, free: 24.33 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/0.5169, allocations: 1.427 MB / 1.309 GB, free: 22.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.5204, allocations: 439.2 kB / 1.309 GB, free: 22.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02825/0.5487, allocations: 24.56 MB / 1.333 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.5525, allocations: 299.5 kB / 1.333 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/0.5528, allocations: 59.97 kB / 1.333 GB, free: 11.76 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001155/0.5539, allocations: 443.6 kB / 1.334 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.5544, allocations: 158.1 kB / 1.334 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/0.5708, allocations: 4.457 MB / 1.338 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.5708, allocations: 12 kB / 1.338 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.329e-05/0.5709, allocations: 20.11 kB / 1.338 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.5709, allocations: 7.922 kB / 1.338 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02205/0.593, allocations: 6.778 MB / 1.345 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.5931, allocations: 0 / 1.345 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002555/0.5956, allocations: 383.7 kB / 1.345 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006469/0.6021, allocations: 1.307 MB / 1.347 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/0.6024, allocations: 43.97 kB / 1.347 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03196/0.6344, allocations: 23.5 MB / 1.37 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6345, allocations: 4.031 kB / 1.37 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01932/0.6538, allocations: 6.812 MB / 1.376 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/0.6552, allocations: 458.9 kB / 1.377 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/0.6557, allocations: 27.98 kB / 1.377 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0024/0.6581, allocations: 299.5 kB / 1.377 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005206/0.6586, allocations: 136.6 kB / 1.377 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/0.6588, allocations: 47.97 kB / 1.377 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001272/0.6601, allocations: 0.7526 MB / 1.378 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.613e-06/0.6601, allocations: 0 / 1.378 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002723/0.6628, allocations: 0.5741 MB / 1.378 GB, free: 11.41 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003628/0.6632, allocations: 152.4 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01141/0.6746, allocations: 5.123 MB / 1.384 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6747, allocations: 0 / 1.384 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.007033/0.6817, allocations: 3.491 MB / 1.387 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00311/0.6849, allocations: 0.5056 MB / 1.388 GB, free: 1.801 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.6956, allocations: 5.368 MB / 1.393 GB, free: 12.37 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.6975, allocations: 1.529 MB / 1.394 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002016/0.6995, allocations: 429.6 kB / 1.395 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.7, allocations: 107.4 kB / 1.395 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of SimCode: time 8.82e-07/0.7, allocations: 0 / 1.395 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of Templates: time 0.6371/1.337, allocations: 39.07 MB / 1.433 GB, free: 180.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)