Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009559/0.0009559, allocations: 171.1 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000837/0.0008369, allocations: 86.36 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003286, allocations: 8.438 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1928, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005466/0.1983, allocations: 5.726 MB / 0.9071 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005064/0.2034, allocations: 3.201 MB / 0.9102 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007827/0.2042, allocations: 23.81 kB / 0.9102 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.2047, allocations: 119 kB / 0.9103 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2061, allocations: 446 kB / 0.9107 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.2073, allocations: 464.8 kB / 0.9112 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2087, allocations: 1.47 MB / 0.9126 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.2102, allocations: 0.9883 MB / 0.9136 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.2108, allocations: 374.3 kB / 0.9139 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.2112, allocations: 446.1 kB / 0.9144 GB, free: 50.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.2113, allocations: 32 kB / 0.9144 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.2121, allocations: 0.5692 MB / 0.915 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.2122, allocations: 255.3 kB / 0.9152 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.2125, allocations: 383.6 kB / 0.9156 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.2131, allocations: 0.8963 MB / 0.9164 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2131, allocations: 0 / 0.9164 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2131, allocations: 0 / 0.9164 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.2132, allocations: 4 kB / 0.9164 GB, free: 48.07 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001075/0.2142, allocations: 0.9195 MB / 0.9173 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2143, allocations: 8.031 kB / 0.9173 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.2156, allocations: 227.6 kB / 0.9176 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.2162, allocations: 0.5337 MB / 0.9181 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2162, allocations: 45.69 kB / 0.9181 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.2163, allocations: 68.27 kB / 0.9182 GB, free: 46.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.2173, allocations: 1.041 MB / 0.9192 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.2173, allocations: 4 kB / 0.9192 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/0.2174, allocations: 24 kB / 0.9192 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.271e-05/0.2175, allocations: 69.27 kB / 0.9193 GB, free: 44.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008103/0.2183, allocations: 0.6995 MB / 0.92 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.2217, allocations: 5.76 MB / 0.9256 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.2224, allocations: 0.594 MB / 0.9262 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.223, allocations: 420.6 kB / 0.9266 GB, free: 37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.223, allocations: 4 kB / 0.9266 GB, free: 37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.2231, allocations: 38.55 kB / 0.9266 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 1.824e-06/0.2231, allocations: 0 / 0.9266 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.003622/0.2267, allocations: 2.07 MB / 0.9287 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/0.2267, allocations: 55.41 kB / 0.9287 GB, free: 34.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.2271, allocations: 470.6 kB / 0.9292 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2271, allocations: 37.7 kB / 0.9292 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2273, allocations: 379.1 kB / 0.9296 GB, free: 33.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.2274, allocations: 153.8 kB / 0.9297 GB, free: 33.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.2274, allocations: 12 kB / 0.9297 GB, free: 33.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.2275, allocations: 366.8 kB / 0.9301 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.2278, allocations: 245.2 kB / 0.9303 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.2281, allocations: 460.9 kB / 0.9307 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.2288, allocations: 0.7636 MB / 0.9315 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2288, allocations: 0 / 0.9315 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001478/0.2303, allocations: 1.065 MB / 0.9325 GB, free: 30.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2303, allocations: 8 kB / 0.9325 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2303, allocations: 11.94 kB / 0.9325 GB, free: 30.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009218/0.2312, allocations: 327.8 kB / 0.9329 GB, free: 30.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.2315, allocations: 103.8 kB / 0.933 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.2367, allocations: 6.949 MB / 0.9397 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.2371, allocations: 32.02 kB / 0.9398 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.2371, allocations: 28 kB / 0.9398 GB, free: 22.57 MB / 0.6042 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002716/0.2374, allocations: 252.7 kB / 0.94 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.2375, allocations: 55.62 kB / 0.9401 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.2388, allocations: 0.9195 MB / 0.941 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2389, allocations: 4 kB / 0.941 GB, free: 21.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2389, allocations: 7.938 kB / 0.941 GB, free: 21.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.2389, allocations: 3.984 kB / 0.941 GB, free: 21.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.241, allocations: 1.712 MB / 0.9427 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.241, allocations: 0 / 0.9427 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.2412, allocations: 43.97 kB / 0.9427 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008021/0.242, allocations: 323.2 kB / 0.943 GB, free: 19.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.242, allocations: 11.94 kB / 0.943 GB, free: 19.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004583/0.2466, allocations: 6.943 MB / 0.9498 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2467, allocations: 7.938 kB / 0.9498 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.248, allocations: 1.011 MB / 0.9508 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.2482, allocations: 180.3 kB / 0.951 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.2483, allocations: 8 kB / 0.951 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.2485, allocations: 27.97 kB / 0.951 GB, free: 10.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.2486, allocations: 35.95 kB / 0.9511 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2486, allocations: 16.22 kB / 0.9511 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002493/0.2489, allocations: 310.9 kB / 0.9514 GB, free: 9.992 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2489, allocations: 4 kB / 0.9514 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006688/0.2496, allocations: 195.9 kB / 0.9516 GB, free: 9.797 MB / 0.6042 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.2497, allocations: 119.1 kB / 0.9517 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.2512, allocations: 1.199 MB / 0.9528 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2512, allocations: 4 kB / 0.9528 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.2521, allocations: 0.8618 MB / 0.9537 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.2531, allocations: 187.8 kB / 0.9539 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2547, allocations: 1.618 MB / 0.9554 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.2551, allocations: 0.9921 MB / 0.9564 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.2552, allocations: 39.44 kB / 0.9565 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2552, allocations: 0 / 0.9565 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of Templates: time 0.01978/0.2749, allocations: 18.57 MB / 0.9746 GB, free: 2.047 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)