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.378/1.378, 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.001107/0.001107, allocations: 170.2 kB / 327.6 MB, free: 2.09 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.4 MB / 0.5786 GB, free: 20.41 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.0009428/0.0009429, allocations: 97.16 kB / 0.6832 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 12.52 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 106.3 MB / 0.9015 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004729/0.1687, allocations: 5.134 MB / 0.9065 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003416/0.1722, allocations: 2.643 MB / 0.9091 GB, free: 56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004694/0.1727, allocations: 15.88 kB / 0.9091 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.173, allocations: 107.1 kB / 0.9092 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009248/0.174, allocations: 382.1 kB / 0.9095 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008472/0.1748, allocations: 368.5 kB / 0.9099 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1758, allocations: 1.255 MB / 0.9111 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.177, allocations: 0.7897 MB / 0.9119 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004552/0.1774, allocations: 322.5 kB / 0.9122 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.1779, allocations: 390.4 kB / 0.9126 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.178, allocations: 24 kB / 0.9126 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006618/0.1787, allocations: 431.1 kB / 0.913 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.1789, allocations: 223.4 kB / 0.9132 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.1792, allocations: 347.8 kB / 0.9135 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006264/0.1799, allocations: 0.7289 MB / 0.9143 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1799, allocations: 0 / 0.9143 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1799, allocations: 0 / 0.9143 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.125e-05/0.1799, allocations: 0 / 0.9143 GB, free: 50.62 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.001326/0.1812, allocations: 0.857 MB / 0.9151 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1813, allocations: 12.03 kB / 0.9151 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.1827, allocations: 195.8 kB / 0.9153 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.1833, allocations: 0.4906 MB / 0.9158 GB, free: 48.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.1833, allocations: 33.38 kB / 0.9158 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.1835, allocations: 60.48 kB / 0.9159 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/0.1844, allocations: 0.828 MB / 0.9167 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.1844, allocations: 7.844 kB / 0.9167 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.1845, allocations: 24 kB / 0.9167 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.1847, allocations: 60.95 kB / 0.9168 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007372/0.1854, allocations: 0.5736 MB / 0.9173 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003211/0.1886, allocations: 4.585 MB / 0.9218 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/0.189, allocations: 295.2 kB / 0.9221 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.1893, allocations: 233.3 kB / 0.9223 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1893, allocations: 4.266 kB / 0.9223 GB, free: 41.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.1893, allocations: 38.84 kB / 0.9223 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.1893, allocations: 0 / 0.9223 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004795/0.1941, allocations: 2.639 MB / 0.9249 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.1942, allocations: 59.41 kB / 0.925 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.1946, allocations: 469.9 kB / 0.9254 GB, free: 38.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.1946, allocations: 33.7 kB / 0.9255 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.1947, allocations: 339.7 kB / 0.9258 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.296e-05/0.1948, allocations: 153.9 kB / 0.9259 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.1949, allocations: 8 kB / 0.9259 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.1949, allocations: 358.8 kB / 0.9263 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.1952, allocations: 237 kB / 0.9265 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.1956, allocations: 416.4 kB / 0.9269 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000667/0.1962, allocations: 0.6779 MB / 0.9276 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1962, allocations: 0 / 0.9276 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001404/0.1977, allocations: 0.9175 MB / 0.9285 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1977, allocations: 8 kB / 0.9285 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.1977, allocations: 8.031 kB / 0.9285 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007179/0.1984, allocations: 226.4 kB / 0.9287 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.1989, allocations: 119.8 kB / 0.9288 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.2025, allocations: 4.934 MB / 0.9336 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.2029, allocations: 31.97 kB / 0.9336 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.203, allocations: 24 kB / 0.9337 GB, free: 29.44 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.0002556/0.2032, allocations: 229.7 kB / 0.9339 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.2033, allocations: 55.34 kB / 0.9339 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2046, allocations: 0.7817 MB / 0.9347 GB, free: 28.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2046, allocations: 4 kB / 0.9347 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2046, allocations: 4 kB / 0.9347 GB, free: 28.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2047, allocations: 3.938 kB / 0.9347 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.2066, allocations: 1.506 MB / 0.9362 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2066, allocations: 4.188 kB / 0.9362 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003382/0.207, allocations: 67.89 kB / 0.9363 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005948/0.2076, allocations: 206.6 kB / 0.9365 GB, free: 26.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.2076, allocations: 11.98 kB / 0.9365 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003325/0.211, allocations: 4.872 MB / 0.9412 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.211, allocations: 0 / 0.9412 GB, free: 21.18 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.2124, allocations: 1.146 MB / 0.9423 GB, free: 19.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.2126, allocations: 172.4 kB / 0.9425 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.2127, allocations: 8 kB / 0.9425 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.2131, allocations: 23.97 kB / 0.9425 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/0.2132, allocations: 43.95 kB / 0.9426 GB, free: 19.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.2132, allocations: 12 kB / 0.9426 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002682/0.2135, allocations: 314.9 kB / 0.9429 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.62e-07/0.2135, allocations: 0 / 0.9429 GB, free: 19.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006012/0.2141, allocations: 175.9 kB / 0.9431 GB, free: 19.23 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.0001301/0.2142, allocations: 107.2 kB / 0.9432 GB, free: 19.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.2155, allocations: 1.004 MB / 0.9441 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2155, allocations: 0 / 0.9441 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007579/0.2163, allocations: 0.6877 MB / 0.9448 GB, free: 17.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.2172, allocations: 157.3 kB / 0.945 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.219, allocations: 1.624 MB / 0.9466 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.2194, allocations: 0.9494 MB / 0.9475 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.2195, allocations: 43.42 kB / 0.9475 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.2195, allocations: 0 / 0.9475 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.01464/0.2342, allocations: 14.81 MB / 0.962 GB, free: 15.73 MB / 0.6198 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)