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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009857/0.0009858, allocations: 174.1 kB / 326.5 MB, free: 2.707 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.637/1.637, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008776/0.0008778, allocations: 94.42 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004923, allocations: 9.594 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.207, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004582/0.2116, allocations: 5.201 MB / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.2149, allocations: 2.686 MB / 0.9045 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.2152, allocations: 19.88 kB / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.2166, allocations: 0.6286 MB / 0.9051 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007178/0.2173, allocations: 382.2 kB / 0.9055 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.218, allocations: 370 kB / 0.9058 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008019/0.2188, allocations: 1.255 MB / 0.907 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.2194, allocations: 454 kB / 0.9075 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.2197, allocations: 322.5 kB / 0.9078 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.22, allocations: 386.4 kB / 0.9081 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.2201, allocations: 28 kB / 0.9082 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005588/0.2207, allocations: 435.1 kB / 0.9086 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.2209, allocations: 223.3 kB / 0.9088 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.2211, allocations: 318.2 kB / 0.9091 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.2216, allocations: 0.7363 MB / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2216, allocations: 0 / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2216, allocations: 0 / 0.9098 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.2216, allocations: 0 / 0.9098 GB, free: 54.79 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.001038/0.2227, allocations: 0.8453 MB / 0.9106 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2227, allocations: 12.03 kB / 0.9107 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.2239, allocations: 203.8 kB / 0.9108 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.2244, allocations: 490.4 kB / 0.9113 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.2245, allocations: 41.36 kB / 0.9114 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.2246, allocations: 52.55 kB / 0.9114 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.2254, allocations: 0.8318 MB / 0.9122 GB, free: 52.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2255, allocations: 7.906 kB / 0.9122 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.2255, allocations: 23.98 kB / 0.9122 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.2257, allocations: 64.95 kB / 0.9123 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.2264, allocations: 0.5774 MB / 0.9129 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003019/0.2294, allocations: 4.593 MB / 0.9174 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.2298, allocations: 291.3 kB / 0.9176 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.23, allocations: 225.3 kB / 0.9179 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.23, allocations: 4.281 kB / 0.9179 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2301, allocations: 38.84 kB / 0.9179 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.2301, allocations: 0 / 0.9179 GB, free: 45.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004565/0.2346, allocations: 2.639 MB / 0.9205 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.2347, allocations: 55.41 kB / 0.9205 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003427/0.235, allocations: 469.9 kB / 0.921 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.2351, allocations: 33.69 kB / 0.921 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.2352, allocations: 343.6 kB / 0.9213 GB, free: 42.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.2353, allocations: 145.9 kB / 0.9215 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.2354, allocations: 57.69 kB / 0.9215 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.2354, allocations: 358.8 kB / 0.9219 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.2357, allocations: 241 kB / 0.9221 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.236, allocations: 406.5 kB / 0.9225 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.2367, allocations: 0.674 MB / 0.9231 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2367, allocations: 0 / 0.9231 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001322/0.238, allocations: 0.9171 MB / 0.924 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.238, allocations: 11.94 kB / 0.924 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2381, allocations: 4 kB / 0.9241 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000675/0.2387, allocations: 226.8 kB / 0.9243 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.2392, allocations: 119.7 kB / 0.9244 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003392/0.2426, allocations: 4.942 MB / 0.9292 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.243, allocations: 31.97 kB / 0.9292 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.2431, allocations: 24 kB / 0.9293 GB, free: 33.57 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.2433, allocations: 229.5 kB / 0.9295 GB, free: 33.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.2434, allocations: 63.33 kB / 0.9295 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.2446, allocations: 0.7779 MB / 0.9303 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2446, allocations: 4 kB / 0.9303 GB, free: 32.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2446, allocations: 4 kB / 0.9303 GB, free: 32.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.2447, allocations: 7.984 kB / 0.9303 GB, free: 32.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.2465, allocations: 1.49 MB / 0.9318 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2465, allocations: 4 kB / 0.9318 GB, free: 30.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.2469, allocations: 71.88 kB / 0.9318 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/0.2475, allocations: 206.5 kB / 0.932 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2475, allocations: 8 kB / 0.932 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.2507, allocations: 4.872 MB / 0.9368 GB, free: 25.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2507, allocations: 0 / 0.9368 GB, free: 25.31 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2521, allocations: 1.15 MB / 0.9379 GB, free: 24.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.2523, allocations: 164.4 kB / 0.9381 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.2524, allocations: 8 kB / 0.9381 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.2527, allocations: 31.95 kB / 0.9381 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2528, allocations: 35.84 kB / 0.9382 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2528, allocations: 15.98 kB / 0.9382 GB, free: 23.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002519/0.2531, allocations: 318.8 kB / 0.9385 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2531, allocations: 4.062 kB / 0.9385 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005994/0.2537, allocations: 168 kB / 0.9386 GB, free: 23.37 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000131/0.2538, allocations: 111.2 kB / 0.9387 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.2551, allocations: 1.004 MB / 0.9397 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2551, allocations: 0 / 0.9397 GB, free: 22.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.2558, allocations: 0.6838 MB / 0.9404 GB, free: 21.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008614/0.2567, allocations: 176.2 kB / 0.9406 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.2584, allocations: 1.559 MB / 0.9421 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.2588, allocations: 0.9533 MB / 0.943 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.2589, allocations: 39.44 kB / 0.9431 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of SimCode: time 8.02e-07/0.2589, allocations: 0 / 0.9431 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.01262/0.2715, allocations: 14.82 MB / 0.9575 GB, free: 3.91 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)