Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.246/2.246, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001354/0.001354, allocations: 175.3 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.611/2.611, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001243/0.001242, allocations: 96.34 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.0004689, allocations: 13.94 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2084, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007185/0.2157, allocations: 4.887 MB / 0.9043 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005445/0.2212, allocations: 2.519 MB / 0.9067 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.2219, allocations: 15.88 kB / 0.9068 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.2223, allocations: 99.14 kB / 0.9068 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.2236, allocations: 338.2 kB / 0.9072 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2249, allocations: 305.2 kB / 0.9075 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.2265, allocations: 1.056 MB / 0.9085 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.2283, allocations: 0.7653 MB / 0.9092 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000692/0.2291, allocations: 310.6 kB / 0.9095 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.2297, allocations: 374.6 kB / 0.9099 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.932e-05/0.2298, allocations: 31.88 kB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006344/0.2304, allocations: 187.7 kB / 0.9101 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.2307, allocations: 219.4 kB / 0.9103 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.2309, allocations: 145.4 kB / 0.9105 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2319, allocations: 0.7249 MB / 0.9112 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2319, allocations: 4 kB / 0.9112 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/0.232, allocations: 0 / 0.9112 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.232, allocations: 0 / 0.9112 GB, free: 53.51 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001851/0.2338, allocations: 0.8531 MB / 0.912 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.2339, allocations: 8.031 kB / 0.912 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.2361, allocations: 199.8 kB / 0.9122 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2373, allocations: 478.7 kB / 0.9127 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/0.2373, allocations: 41.36 kB / 0.9127 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.2376, allocations: 48.56 kB / 0.9127 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.2392, allocations: 0.8277 MB / 0.9135 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.2393, allocations: 3.906 kB / 0.9136 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.2394, allocations: 27.98 kB / 0.9136 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003244/0.2397, allocations: 68.94 kB / 0.9136 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.2411, allocations: 0.5657 MB / 0.9142 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/0.247, allocations: 4.585 MB / 0.9187 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007015/0.2477, allocations: 303.3 kB / 0.919 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.2482, allocations: 221.3 kB / 0.9192 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.2483, allocations: 4.281 kB / 0.9192 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2483, allocations: 42.78 kB / 0.9192 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 4.298e-06/0.2483, allocations: 0 / 0.9192 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.008664/0.257, allocations: 2.642 MB / 0.9218 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2571, allocations: 55.41 kB / 0.9219 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/0.2577, allocations: 465.9 kB / 0.9223 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.2578, allocations: 33.7 kB / 0.9223 GB, free: 41.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.258, allocations: 347.6 kB / 0.9227 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.2582, allocations: 134.1 kB / 0.9228 GB, free: 40.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.2582, allocations: 12 kB / 0.9228 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.727e-05/0.2584, allocations: 362.8 kB / 0.9231 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.2589, allocations: 237 kB / 0.9234 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.2595, allocations: 406.4 kB / 0.9238 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.2602, allocations: 297.5 kB / 0.924 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2603, allocations: 8 kB / 0.924 GB, free: 39.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002603/0.2629, allocations: 0.9057 MB / 0.9249 GB, free: 38.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.2629, allocations: 8.656 kB / 0.9249 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.263, allocations: 4 kB / 0.9249 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.2643, allocations: 230.3 kB / 0.9252 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/0.2653, allocations: 123.8 kB / 0.9253 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.2713, allocations: 4.931 MB / 0.9301 GB, free: 32.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.2722, allocations: 31.95 kB / 0.9301 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.2723, allocations: 24 kB / 0.9302 GB, free: 32.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003941/0.2727, allocations: 226.7 kB / 0.9304 GB, free: 32.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.2729, allocations: 59.34 kB / 0.9304 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.2751, allocations: 0.7733 MB / 0.9312 GB, free: 31.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.2751, allocations: 7.922 kB / 0.9312 GB, free: 31.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2751, allocations: 4 kB / 0.9312 GB, free: 31.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.2755, allocations: 168.4 kB / 0.9314 GB, free: 31.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.2757, allocations: 4 kB / 0.9314 GB, free: 31.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.2762, allocations: 23.97 kB / 0.9314 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.2763, allocations: 39.88 kB / 0.9314 GB, free: 31.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003107/0.2794, allocations: 0.8577 MB / 0.9323 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001754/0.2812, allocations: 0.9553 MB / 0.9332 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004846/0.2818, allocations: 239.8 kB / 0.9334 GB, free: 29.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004523/0.2822, allocations: 314.9 kB / 0.9337 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of Backend: time 1.232e-06/0.2823, allocations: 0 / 0.9337 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002773/0.285, allocations: 0.973 MB / 0.9347 GB, free: 28.1 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003443/0.2885, allocations: 2.022 MB / 0.9366 GB, free: 26.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.02766/0.3162, allocations: 10.13 MB / 0.9465 GB, free: 16 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)