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.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001166/0.001166, allocations: 175.5 kB / 371.8 MB, free: 10.28 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.96/1.96, allocations: 205.4 MB / 0.6306 GB, free: 9.98 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.0009579/0.0009579, allocations: 97.59 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004629/0.0004634, allocations: 15.67 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00591/0.2687, allocations: 5.765 MB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.273, allocations: 2.929 MB / 0.9879 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004945/0.2736, allocations: 23.81 kB / 0.9879 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.2739, allocations: 119.1 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009596/0.2749, allocations: 426.6 kB / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.2758, allocations: 334.1 kB / 0.9888 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.2765, allocations: 0.7389 MB / 0.9895 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.2778, allocations: 0.9171 MB / 0.9904 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.2783, allocations: 358.7 kB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.2788, allocations: 398.5 kB / 0.9911 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.255e-05/0.2789, allocations: 36 kB / 0.9912 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003191/0.2792, allocations: 151.8 kB / 0.9913 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2794, allocations: 247.3 kB / 0.9915 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.2795, allocations: 181.2 kB / 0.9917 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.2802, allocations: 0.8651 MB / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2802, allocations: 0 / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2802, allocations: 0 / 0.9926 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.2802, allocations: 0 / 0.9926 GB, free: 14.17 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00144/0.2817, allocations: 1.009 MB / 0.9935 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2817, allocations: 11.97 kB / 0.9936 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.2829, allocations: 222.7 kB / 0.9938 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.2837, allocations: 0.5327 MB / 0.9943 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.2837, allocations: 53.28 kB / 0.9943 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/0.2838, allocations: 67.98 kB / 0.9944 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.285, allocations: 1.069 MB / 0.9954 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.2851, allocations: 4 kB / 0.9955 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.2852, allocations: 31.98 kB / 0.9955 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.2853, allocations: 89.25 kB / 0.9956 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009554/0.2863, allocations: 0.7464 MB / 0.9963 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.2903, allocations: 5.901 MB / 1.002 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008127/0.2911, allocations: 0.5514 MB / 1.003 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.2912, allocations: 8.422 kB / 1.003 GB, free: 3.238 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.2912, allocations: 39 kB / 1.003 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/0.2912, allocations: 0 / 1.003 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003192/0.2944, allocations: 1.988 MB / 1.005 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.2944, allocations: 55.84 kB / 1.005 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.295, allocations: 0.5547 MB / 1.005 GB, free: 488 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.295, allocations: 33.7 kB / 1.005 GB, free: 448 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.2953, allocations: 422.9 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.2955, allocations: 169.8 kB / 1.006 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.2955, allocations: 16 kB / 1.006 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2958, allocations: 370.8 kB / 1.006 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.2962, allocations: 269.8 kB / 1.006 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/0.2969, allocations: 0.4892 MB / 1.007 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005365/0.2974, allocations: 350 kB / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.2974, allocations: 0 / 1.007 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0019/0.2993, allocations: 1.079 MB / 1.008 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.2994, allocations: 8 kB / 1.008 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.2994, allocations: 11.97 kB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009236/0.3003, allocations: 279.4 kB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3008, allocations: 119.8 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.3073, allocations: 6.704 MB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.3079, allocations: 43.95 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.308, allocations: 31.94 kB / 1.015 GB, free: 5.441 MB / 0.6355 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004015/0.3084, allocations: 249.7 kB / 1.016 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3085, allocations: 71.16 kB / 1.016 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/0.3102, allocations: 0.8886 MB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3102, allocations: 4 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3102, allocations: 7.938 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3102, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.3129, allocations: 1.725 MB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.313, allocations: 4 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.3132, allocations: 67.88 kB / 1.018 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00074/0.314, allocations: 271.3 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.314, allocations: 8 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006164/0.3202, allocations: 6.685 MB / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3202, allocations: 0 / 1.025 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.3218, allocations: 1.056 MB / 1.026 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.3222, allocations: 192.2 kB / 1.026 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.3223, allocations: 15.98 kB / 1.026 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.3227, allocations: 23.97 kB / 1.026 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3228, allocations: 55.91 kB / 1.026 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.3228, allocations: 16 kB / 1.026 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004471/0.3233, allocations: 383.1 kB / 1.027 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.863e-06/0.3233, allocations: 0 / 1.027 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008408/0.3241, allocations: 223.9 kB / 1.027 GB, free: 8.754 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.3243, allocations: 119.2 kB / 1.027 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.3263, allocations: 1.264 MB / 1.028 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3263, allocations: 0 / 1.028 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.3275, allocations: 0.8932 MB / 1.029 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.3284, allocations: 200.1 kB / 1.029 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3307, allocations: 1.597 MB / 1.031 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.3314, allocations: 1.024 MB / 1.032 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004136/0.3318, allocations: 118 kB / 1.032 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3319, allocations: 47.44 kB / 1.032 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of SimCode: time 2.1e-07/0.332, allocations: 0 / 1.032 GB, free: 3.324 MB / 0.6511 GB Notification: Performance of Templates: time 0.01796/0.3499, allocations: 10.28 MB / 1.042 GB, free: 9.168 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)