Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.766/1.766, allocations: 287.4 MB / 303.2 MB, free: 8.23 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.001093/0.001092, allocations: 185.9 kB / 371.8 MB, free: 10.8 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.73/1.73, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0008267/0.0008269, allocations: 83.48 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004081, allocations: 15.34 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.004324/0.2431, allocations: 4.556 MB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004007/0.2471, allocations: 3.513 MB / 0.9872 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003352/0.2475, allocations: 7.938 kB / 0.9872 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007094/0.2482, allocations: 210.9 kB / 0.9874 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008805/0.2491, allocations: 367.4 kB / 0.9877 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.2496, allocations: 192.4 kB / 0.9879 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000793/0.2504, allocations: 0.7651 MB / 0.9887 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.2515, allocations: 0.8226 MB / 0.9895 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.2517, allocations: 199.2 kB / 0.9896 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.252, allocations: 255 kB / 0.9899 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.564e-05/0.252, allocations: 20 kB / 0.9899 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005895/0.2526, allocations: 331.6 kB / 0.9902 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2527, allocations: 139.5 kB / 0.9904 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.996e-05/0.2528, allocations: 105.5 kB / 0.9905 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.2534, allocations: 0.7637 MB / 0.9912 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2534, allocations: 0 / 0.9912 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2534, allocations: 4 kB / 0.9912 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2534, allocations: 0 / 0.9912 GB, free: 15.9 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.001109/0.2546, allocations: 0.7597 MB / 0.9919 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2546, allocations: 8.031 kB / 0.992 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/0.2572, allocations: 0.714 MB / 0.9927 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009816/0.2582, allocations: 0.5471 MB / 0.9932 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.2583, allocations: 24.97 kB / 0.9932 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.2584, allocations: 32.12 kB / 0.9932 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2598, allocations: 0.8357 MB / 0.9941 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2598, allocations: 7.938 kB / 0.9941 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.2598, allocations: 15.98 kB / 0.9941 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.26, allocations: 68.56 kB / 0.9941 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.2618, allocations: 0.939 MB / 0.9951 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.2651, allocations: 2.949 MB / 0.9979 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.2665, allocations: 0.5722 MB / 0.9985 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.2672, allocations: 316.6 kB / 0.9988 GB, free: 7.777 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.14e-05/0.2673, allocations: 93.08 kB / 0.9989 GB, free: 7.668 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.2673, allocations: 34.56 kB / 0.9989 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.2673, allocations: 0 / 0.9989 GB, free: 7.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36): time 0.01275/0.2801, allocations: 4.087 MB / 1.003 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.2801, allocations: 84.97 kB / 1.003 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.2806, allocations: 457.5 kB / 1.003 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.2806, allocations: 29.7 kB / 1.003 GB, free: 2.914 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2808, allocations: 244.2 kB / 1.004 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.2809, allocations: 118.3 kB / 1.004 GB, free: 2.555 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2809, allocations: 11.94 kB / 1.004 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.281, allocations: 350.8 kB / 1.004 GB, free: 2.191 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.2818, allocations: 444.5 kB / 1.005 GB, free: 1.758 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.2827, allocations: 0.5213 MB / 1.005 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.2844, allocations: 0.9507 MB / 1.006 GB, free: 224 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2844, allocations: 4 kB / 1.006 GB, free: 220 kB / 0.6198 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005863/0.2903, allocations: 1.924 MB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.2905, allocations: 152 kB / 1.008 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.2905, allocations: 3.984 kB / 1.008 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004739/0.2952, allocations: 1.094 MB / 1.009 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.2959, allocations: 127.8 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009944/0.3059, allocations: 6.396 MB / 1.015 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.3068, allocations: 116.3 kB / 1.016 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.3069, allocations: 16 kB / 1.016 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.3069, allocations: 6.031 kB / 1.016 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004864/0.3118, allocations: 1.636 MB / 1.017 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3118, allocations: 3.984 kB / 1.017 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003292/0.3151, allocations: 0.8054 MB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.3158, allocations: 143.7 kB / 1.018 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007834/0.3236, allocations: 5.558 MB / 1.024 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/0.3246, allocations: 107.8 kB / 1.024 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.3246, allocations: 19.98 kB / 1.024 GB, free: 13.52 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.0004408/0.3251, allocations: 350.1 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3252, allocations: 39.53 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00535/0.3306, allocations: 1.829 MB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3306, allocations: 3.984 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3306, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.3309, allocations: 200.6 kB / 1.026 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.331, allocations: 7.984 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.3317, allocations: 95.86 kB / 1.026 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3318, allocations: 44.14 kB / 1.026 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004221/0.3361, allocations: 1.625 MB / 1.028 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00264/0.3387, allocations: 1.473 MB / 1.029 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008266/0.3396, allocations: 427.7 kB / 1.03 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004197/0.34, allocations: 339.1 kB / 1.03 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of Backend: time 4.81e-07/0.34, allocations: 0 / 1.03 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006286/0.3463, allocations: 2.409 MB / 1.032 GB, free: 4.566 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002137/0.3485, allocations: 1.798 MB / 1.034 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of Templates: time 0.02942/0.3779, allocations: 18.72 MB / 1.052 GB, free: 84 kB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)