Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.303/2.303, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001341, allocations: 176.4 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.543/2.543, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 76.44 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000587/0.0005872, allocations: 12.53 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2093, allocations: 106.3 MB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.006804/0.2162, allocations: 4.497 MB / 0.9034 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00597/0.2222, allocations: 3.116 MB / 0.9065 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.2227, allocations: 4 kB / 0.9065 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007395/0.2234, allocations: 155.1 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.2247, allocations: 314.3 kB / 0.9069 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.2256, allocations: 191.5 kB / 0.9071 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2268, allocations: 0.7164 MB / 0.9078 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.2286, allocations: 0.7548 MB / 0.9085 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.2291, allocations: 199.2 kB / 0.9087 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.2296, allocations: 255.1 kB / 0.909 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.159e-05/0.2297, allocations: 20 kB / 0.909 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.2305, allocations: 235.7 kB / 0.9092 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.2307, allocations: 143.6 kB / 0.9094 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.2308, allocations: 105.5 kB / 0.9095 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2319, allocations: 0.7014 MB / 0.9101 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2319, allocations: 0 / 0.9101 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2319, allocations: 0 / 0.9101 GB, free: 54.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.2319, allocations: 4 kB / 0.9101 GB, free: 54.43 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.002037/0.234, allocations: 0.752 MB / 0.9109 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.234, allocations: 8.031 kB / 0.9109 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.24, allocations: 0.6984 MB / 0.9116 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2413, allocations: 484 kB / 0.912 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2414, allocations: 25.02 kB / 0.9121 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.2415, allocations: 36.03 kB / 0.9121 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/0.2442, allocations: 0.8473 MB / 0.9129 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.2443, allocations: 0 / 0.9129 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.2444, allocations: 16 kB / 0.9129 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003848/0.2448, allocations: 68.56 kB / 0.913 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/0.2484, allocations: 0.9389 MB / 0.9139 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/0.2546, allocations: 2.925 MB / 0.9168 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.2575, allocations: 0.5605 MB / 0.9173 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.2589, allocations: 320.5 kB / 0.9176 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.2591, allocations: 85.11 kB / 0.9177 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.2592, allocations: 38.5 kB / 0.9177 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.537e-06/0.2592, allocations: 0 / 0.9177 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.02295/0.2821, allocations: 3.652 MB / 0.9213 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.2823, allocations: 81.11 kB / 0.9214 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.2829, allocations: 408.5 kB / 0.9218 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.2831, allocations: 29.7 kB / 0.9218 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.2833, allocations: 243.8 kB / 0.922 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.2834, allocations: 106.5 kB / 0.9221 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.2835, allocations: 8 kB / 0.9221 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2836, allocations: 346.8 kB / 0.9225 GB, free: 41.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.2853, allocations: 403.6 kB / 0.9229 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.287, allocations: 488.9 kB / 0.9233 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.2888, allocations: 431.7 kB / 0.9237 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2888, allocations: 4 kB / 0.9237 GB, free: 40 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.01077/0.2996, allocations: 1.724 MB / 0.9254 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.2998, allocations: 160.1 kB / 0.9256 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.2999, allocations: 0 / 0.9256 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/0.3128, allocations: 0.9738 MB / 0.9265 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.3146, allocations: 135.7 kB / 0.9267 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.3337, allocations: 6.404 MB / 0.9329 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.3357, allocations: 115.8 kB / 0.933 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.3359, allocations: 19.98 kB / 0.933 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.336, allocations: 4 kB / 0.933 GB, free: 30.01 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/0.3485, allocations: 1.66 MB / 0.9347 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.3485, allocations: 0 / 0.9347 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008136/0.3567, allocations: 0.7212 MB / 0.9354 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.3584, allocations: 143.7 kB / 0.9355 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.3705, allocations: 5.445 MB / 0.9408 GB, free: 21.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/0.3724, allocations: 107.8 kB / 0.9409 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.3726, allocations: 20.06 kB / 0.941 GB, free: 21.45 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006951/0.3734, allocations: 324.9 kB / 0.9413 GB, free: 21.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3736, allocations: 43.5 kB / 0.9413 GB, free: 21.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.387, allocations: 1.629 MB / 0.9429 GB, free: 19.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.3871, allocations: 4 kB / 0.9429 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.3871, allocations: 0 / 0.9429 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.3872, allocations: 0 / 0.9429 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.4012, allocations: 2.322 MB / 0.9452 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.4012, allocations: 0 / 0.9452 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.402, allocations: 87.89 kB / 0.9452 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007155/0.4092, allocations: 0.9231 MB / 0.9461 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.4093, allocations: 8 kB / 0.9462 GB, free: 16.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.4201, allocations: 6.227 MB / 0.9522 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4202, allocations: 256 / 0.9522 GB, free: 9.379 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00857/0.4288, allocations: 1.631 MB / 0.9538 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/0.4293, allocations: 180.6 kB / 0.954 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4294, allocations: 19.92 kB / 0.954 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.4305, allocations: 99.8 kB / 0.9541 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.4307, allocations: 31.95 kB / 0.9541 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.4308, allocations: 8 kB / 0.9542 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000479/0.4312, allocations: 307.1 kB / 0.9544 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4313, allocations: 0 / 0.9544 GB, free: 7.055 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001494/0.4328, allocations: 244 kB / 0.9547 GB, free: 6.816 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.4331, allocations: 121.7 kB / 0.9548 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007239/0.4403, allocations: 2.248 MB / 0.957 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.4404, allocations: 0 / 0.957 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.443, allocations: 0.8279 MB / 0.9578 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4442, allocations: 132.6 kB / 0.9579 GB, free: 3.348 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.4474, allocations: 1.318 MB / 0.9592 GB, free: 2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.4479, allocations: 0.922 MB / 0.9601 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009913/0.4489, allocations: 175.2 kB / 0.9603 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.4492, allocations: 31.42 kB / 0.9603 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.4492, allocations: 0 / 0.9603 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of Templates: time 0.03553/0.4847, allocations: 13.91 MB / 0.9739 GB, free: 2.992 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)