Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009225/0.0009225, allocations: 179.3 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000743/0.000743, allocations: 82.38 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003029, allocations: 9.5 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 106.3 MB / 0.9015 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004549/0.166, allocations: 4.768 MB / 0.9061 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.1705, allocations: 3.748 MB / 0.9098 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.1709, allocations: 7.938 kB / 0.9098 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.1719, allocations: 230.8 kB / 0.91 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.173, allocations: 424.6 kB / 0.9104 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.1736, allocations: 250.2 kB / 0.9106 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1746, allocations: 0.9115 MB / 0.9115 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.1757, allocations: 0.8255 MB / 0.9123 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002881/0.176, allocations: 199.2 kB / 0.9125 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.1764, allocations: 278.9 kB / 0.9128 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.316e-05/0.1765, allocations: 24 kB / 0.9128 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/0.1772, allocations: 479.2 kB / 0.9133 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1774, allocations: 143.5 kB / 0.9134 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1776, allocations: 240.5 kB / 0.9136 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.1783, allocations: 0.7599 MB / 0.9144 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1783, allocations: 3.938 kB / 0.9144 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1783, allocations: 0 / 0.9144 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.1783, allocations: 0 / 0.9144 GB, free: 50.18 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001259/0.1796, allocations: 0.7636 MB / 0.9151 GB, free: 49.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1797, allocations: 12.03 kB / 0.9152 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.1825, allocations: 0.7101 MB / 0.9158 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.1834, allocations: 0.547 MB / 0.9164 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.1835, allocations: 21.03 kB / 0.9164 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.739e-05/0.1836, allocations: 40.11 kB / 0.9164 GB, free: 48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.185, allocations: 0.8434 MB / 0.9173 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.185, allocations: 4 kB / 0.9173 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-05/0.1851, allocations: 8 kB / 0.9173 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001951/0.1853, allocations: 72.56 kB / 0.9173 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.1871, allocations: 0.9389 MB / 0.9183 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/0.1909, allocations: 2.96 MB / 0.9211 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.1925, allocations: 0.5663 MB / 0.9217 GB, free: 42.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006768/0.1931, allocations: 316.6 kB / 0.922 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/0.1932, allocations: 93.05 kB / 0.9221 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1933, allocations: 42.48 kB / 0.9221 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.315e-06/0.1933, allocations: 0 / 0.9221 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.0134/0.2067, allocations: 4.082 MB / 0.9261 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.2068, allocations: 84.97 kB / 0.9262 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.2072, allocations: 453.6 kB / 0.9266 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.2073, allocations: 37.7 kB / 0.9267 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2074, allocations: 232.2 kB / 0.9269 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.544e-05/0.2075, allocations: 130.1 kB / 0.927 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.2075, allocations: 8 kB / 0.927 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.2076, allocations: 350.8 kB / 0.9274 GB, free: 36.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/0.2085, allocations: 448.5 kB / 0.9278 GB, free: 36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009055/0.2094, allocations: 0.5212 MB / 0.9283 GB, free: 35.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.2113, allocations: 0.9624 MB / 0.9292 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2113, allocations: 4 kB / 0.9292 GB, free: 34.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005572/0.2169, allocations: 1.932 MB / 0.9311 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.217, allocations: 147.9 kB / 0.9313 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.217, allocations: 0 / 0.9313 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00454/0.2215, allocations: 1.094 MB / 0.9323 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.2222, allocations: 127.8 kB / 0.9325 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008708/0.2309, allocations: 6.406 MB / 0.9387 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.2318, allocations: 119.9 kB / 0.9388 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.2318, allocations: 19.98 kB / 0.9388 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.2318, allocations: 4 kB / 0.9388 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004692/0.2365, allocations: 1.633 MB / 0.9404 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2366, allocations: 4 kB / 0.9404 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/0.2398, allocations: 0.8092 MB / 0.9412 GB, free: 21.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/0.2404, allocations: 139.8 kB / 0.9414 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006478/0.2469, allocations: 5.558 MB / 0.9468 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.2477, allocations: 111.9 kB / 0.9469 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/0.2478, allocations: 19.98 kB / 0.9469 GB, free: 15.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.2481, allocations: 333 kB / 0.9472 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.2483, allocations: 43.47 kB / 0.9473 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005207/0.2535, allocations: 1.836 MB / 0.9491 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.2535, allocations: 4 kB / 0.9491 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2535, allocations: 0 / 0.9491 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2535, allocations: 3.984 kB / 0.9491 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006047/0.2596, allocations: 2.573 MB / 0.9516 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.2596, allocations: 0 / 0.9516 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.26, allocations: 84 kB / 0.9517 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/0.2643, allocations: 1.028 MB / 0.9527 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.2643, allocations: 11.98 kB / 0.9527 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007529/0.2719, allocations: 6.075 MB / 0.9586 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2719, allocations: 7.969 kB / 0.9586 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/0.2768, allocations: 1.794 MB / 0.9604 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.2771, allocations: 192.6 kB / 0.9606 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.2772, allocations: 11.94 kB / 0.9606 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.2779, allocations: 91.86 kB / 0.9607 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.2781, allocations: 51.81 kB / 0.9607 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.2781, allocations: 8 kB / 0.9607 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003459/0.2785, allocations: 339.1 kB / 0.961 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2785, allocations: 0 / 0.961 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009899/0.2795, allocations: 288 kB / 0.9613 GB, free: 0.5742 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/0.2798, allocations: 155.2 kB / 0.9615 GB, free: 420 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006575/0.2864, allocations: 2.537 MB / 0.9639 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.2864, allocations: 4.125 kB / 0.964 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.289, allocations: 0.9847 MB / 0.9649 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008843/0.2899, allocations: 125.9 kB / 0.965 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.2924, allocations: 1.491 MB / 0.9665 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.293, allocations: 0.9492 MB / 0.9674 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.2932, allocations: 39.41 kB / 0.9675 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2932, allocations: 0 / 0.9675 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.01931/0.3126, allocations: 14.46 MB / 0.9816 GB, free: 11.7 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)