Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 288.4 MB / 303.7 MB, free: 8.062 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009548/0.0009544, allocations: 179.4 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 0.631 GB, free: 9.766 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008087, allocations: 98.28 kB / 0.7444 GB, free: 5.684 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003855, allocations: 11.56 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9801 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004691/0.211, allocations: 4.556 MB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004077/0.2151, allocations: 3.509 MB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.2154, allocations: 11.94 kB / 0.988 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007396/0.2162, allocations: 216.4 kB / 0.9882 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009622/0.2171, allocations: 400.3 kB / 0.9886 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.2179, allocations: 211.5 kB / 0.9888 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.2189, allocations: 0.7632 MB / 0.9896 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.22, allocations: 0.8232 MB / 0.9904 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.2202, allocations: 199.2 kB / 0.9906 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.2206, allocations: 259 kB / 0.9908 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.2206, allocations: 20 kB / 0.9908 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008256/0.2214, allocations: 467.2 kB / 0.9913 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2216, allocations: 135.6 kB / 0.9914 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.2217, allocations: 228.7 kB / 0.9916 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.2224, allocations: 0.7675 MB / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2224, allocations: 0 / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2224, allocations: 0 / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.2224, allocations: 0 / 0.9924 GB, free: 14.68 MB / 0.6198 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.001245/0.2237, allocations: 0.7598 MB / 0.9931 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2237, allocations: 12.03 kB / 0.9931 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/0.2265, allocations: 0.714 MB / 0.9938 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.2275, allocations: 0.5432 MB / 0.9943 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.2275, allocations: 28.97 kB / 0.9944 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.2276, allocations: 36.12 kB / 0.9944 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.229, allocations: 0.8395 MB / 0.9952 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2291, allocations: 0 / 0.9952 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.2291, allocations: 15.98 kB / 0.9952 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.2294, allocations: 68.56 kB / 0.9953 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.2312, allocations: 0.9429 MB / 0.9962 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.2347, allocations: 2.952 MB / 0.9991 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.2362, allocations: 0.5683 MB / 0.9997 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/0.2369, allocations: 320.5 kB / 1 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-05/0.237, allocations: 97.08 kB / 1 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.237, allocations: 34.56 kB / 1 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.455e-06/0.237, allocations: 0 / 1 GB, free: 6.391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01323/0.2502, allocations: 4.067 MB / 1.004 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2503, allocations: 88.97 kB / 1.004 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.2508, allocations: 457.5 kB / 1.005 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/0.2509, allocations: 29.7 kB / 1.005 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.251, allocations: 248.1 kB / 1.005 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/0.2511, allocations: 118.3 kB / 1.005 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.2511, allocations: 4 kB / 1.005 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.2512, allocations: 350.8 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.2521, allocations: 444.5 kB / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009196/0.253, allocations: 0.5212 MB / 1.006 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.2551, allocations: 0.9585 MB / 1.007 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2551, allocations: 0 / 1.007 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006109/0.2612, allocations: 1.931 MB / 1.009 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.2614, allocations: 144.1 kB / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.2614, allocations: 0 / 1.009 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004894/0.2663, allocations: 1.098 MB / 1.01 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.267, allocations: 127.8 kB / 1.01 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.2773, allocations: 6.389 MB / 1.017 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009077/0.2782, allocations: 119.8 kB / 1.017 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.2783, allocations: 19.98 kB / 1.017 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2783, allocations: 5.406 kB / 1.017 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005155/0.2835, allocations: 1.64 MB / 1.018 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2835, allocations: 0 / 1.018 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.287, allocations: 0.7976 MB / 1.019 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.2877, allocations: 139.8 kB / 1.019 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007872/0.2955, allocations: 5.567 MB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.2964, allocations: 111.9 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.635e-05/0.2965, allocations: 19.98 kB / 1.025 GB, free: 12.29 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004174/0.2969, allocations: 344.8 kB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.297, allocations: 39.53 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/0.3027, allocations: 1.825 MB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3027, allocations: 4 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3027, allocations: 4 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3027, allocations: 3.984 kB / 1.027 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/0.3091, allocations: 2.565 MB / 1.03 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3091, allocations: 0 / 1.03 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.3096, allocations: 91.94 kB / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004249/0.3138, allocations: 1.024 MB / 1.031 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.359e-05/0.3139, allocations: 11.98 kB / 1.031 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009242/0.3231, allocations: 6.071 MB / 1.037 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3232, allocations: 0 / 1.037 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005441/0.3286, allocations: 1.798 MB / 1.038 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.329, allocations: 196.5 kB / 1.038 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.3291, allocations: 15.94 kB / 1.038 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/0.3298, allocations: 87.86 kB / 1.039 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.33, allocations: 43.88 kB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.33, allocations: 12 kB / 1.039 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004456/0.3305, allocations: 335.1 kB / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3305, allocations: 0 / 1.039 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001131/0.3316, allocations: 288 kB / 1.039 GB, free: 13.13 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003159/0.332, allocations: 163.1 kB / 1.039 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006529/0.3385, allocations: 2.54 MB / 1.042 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3385, allocations: 3.938 kB / 1.042 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.3411, allocations: 0.9815 MB / 1.043 GB, free: 9.359 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000842/0.3419, allocations: 132.9 kB / 1.043 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.3444, allocations: 1.433 MB / 1.044 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006501/0.345, allocations: 0.9531 MB / 1.045 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006133/0.3457, allocations: 151.4 kB / 1.045 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3458, allocations: 35.42 kB / 1.045 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of SimCode: time 1.263e-06/0.3458, allocations: 0 / 1.045 GB, free: 6.605 MB / 0.6667 GB Notification: Performance of Templates: time 0.02523/0.371, allocations: 16.51 MB / 1.062 GB, free: 6.227 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)