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.801/1.801, allocations: 288.4 MB / 303.7 MB, free: 8.105 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.001187/0.001187, allocations: 173.7 kB / 372.3 MB, free: 10.13 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.714/1.714, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007387/0.0007386, allocations: 100.6 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.0005819, allocations: 11.72 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005397/0.2406, allocations: 6.021 MB / 0.986 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003864/0.2445, allocations: 2.921 MB / 0.9889 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.2451, allocations: 23.81 kB / 0.9889 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.2456, allocations: 130.9 kB / 0.989 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.2468, allocations: 469.5 kB / 0.9895 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.2477, allocations: 348.5 kB / 0.9898 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.249, allocations: 1.345 MB / 0.9911 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.2508, allocations: 1.002 MB / 0.9921 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006865/0.2515, allocations: 394.4 kB / 0.9925 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006265/0.2521, allocations: 486.2 kB / 0.9929 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2523, allocations: 36 kB / 0.993 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007433/0.253, allocations: 431 kB / 0.9934 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.2533, allocations: 259.2 kB / 0.9936 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.2537, allocations: 423.7 kB / 0.994 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.2545, allocations: 0.9275 MB / 0.9949 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2545, allocations: 0 / 0.9949 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2545, allocations: 0 / 0.9949 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.2545, allocations: 0 / 0.9949 GB, free: 12.11 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.001309/0.2558, allocations: 1.005 MB / 0.9959 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2559, allocations: 8.031 kB / 0.9959 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/0.2572, allocations: 235.5 kB / 0.9961 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.2579, allocations: 0.5569 MB / 0.9967 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.2579, allocations: 45.67 kB / 0.9967 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.258, allocations: 68.36 kB / 0.9968 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2592, allocations: 1.085 MB / 0.9979 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.2592, allocations: 4 kB / 0.9979 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/0.2593, allocations: 31.98 kB / 0.9979 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.2594, allocations: 85.25 kB / 0.998 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009272/0.2604, allocations: 0.7503 MB / 0.9987 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.264, allocations: 5.905 MB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008071/0.2649, allocations: 0.5438 MB / 1.005 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.2652, allocations: 330 kB / 1.005 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2653, allocations: 8.438 kB / 1.005 GB, free: 0.8203 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2653, allocations: 39 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.2653, allocations: 0 / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.003667/0.269, allocations: 1.99 MB / 1.007 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.269, allocations: 55.84 kB / 1.007 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.2697, allocations: 0.5625 MB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.2698, allocations: 37.7 kB / 1.008 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.2701, allocations: 418.9 kB / 1.008 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2702, allocations: 169.6 kB / 1.009 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2703, allocations: 8 kB / 1.009 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.2705, allocations: 378.7 kB / 1.009 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.2709, allocations: 273.8 kB / 1.009 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/0.2714, allocations: 493 kB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.2724, allocations: 0.8093 MB / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2724, allocations: 0 / 1.01 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001826/0.2742, allocations: 1.083 MB / 1.011 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.2743, allocations: 12 kB / 1.011 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.2743, allocations: 7.938 kB / 1.011 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009006/0.2752, allocations: 279.2 kB / 1.012 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.2757, allocations: 127.7 kB / 1.012 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006896/0.2826, allocations: 6.603 MB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.2833, allocations: 39.97 kB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.2833, allocations: 31.98 kB / 1.018 GB, free: 2.547 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.0004138/0.2838, allocations: 253.6 kB / 1.019 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.2839, allocations: 71.16 kB / 1.019 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.2855, allocations: 0.8847 MB / 1.02 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.2855, allocations: 8 kB / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2855, allocations: 0 / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2856, allocations: 4 kB / 1.02 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.2885, allocations: 1.724 MB / 1.021 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2885, allocations: 7.938 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.2888, allocations: 59.89 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007596/0.2895, allocations: 267.4 kB / 1.022 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.2896, allocations: 11.98 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/0.296, allocations: 6.583 MB / 1.028 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.391e-06/0.296, allocations: 8.031 kB / 1.028 GB, free: 8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.2977, allocations: 0.9757 MB / 1.029 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.2981, allocations: 196.1 kB / 1.029 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2983, allocations: 11.94 kB / 1.029 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.2987, allocations: 39.89 kB / 1.029 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.2988, allocations: 47.84 kB / 1.029 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.2989, allocations: 12 kB / 1.029 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005238/0.2994, allocations: 387.1 kB / 1.03 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2994, allocations: 0 / 1.03 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009173/0.3003, allocations: 224 kB / 1.03 GB, free: 6.066 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.0001884/0.3005, allocations: 119.2 kB / 1.03 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.3028, allocations: 1.264 MB / 1.031 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.3028, allocations: 8.062 kB / 1.031 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3042, allocations: 0.8892 MB / 1.032 GB, free: 3.684 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3055, allocations: 204.3 kB / 1.032 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.3084, allocations: 1.598 MB / 1.034 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/0.3092, allocations: 1.013 MB / 1.035 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005185/0.3097, allocations: 130 kB / 1.035 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3099, allocations: 39.44 kB / 1.035 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/0.3099, allocations: 4 kB / 1.035 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of Templates: time 0.02057/0.3305, allocations: 10.44 MB / 1.045 GB, free: 6.324 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)