Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 198.8 kB / 16.14 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002667/0.002667, allocations: 282.8 kB / 290.2 MB, free: 2.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 104.1 kB / 0.6057 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1699, allocations: 89.16 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007496/0.1775, allocations: 5.537 MB / 0.6982 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004086/0.1816, allocations: 2.67 MB / 0.7008 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.1818, allocations: 23.81 kB / 0.7008 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.1834, allocations: 0.6373 MB / 0.7015 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.1842, allocations: 378.1 kB / 0.7018 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.185, allocations: 375.3 kB / 0.7022 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1862, allocations: 1.248 MB / 0.7034 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006907/0.1869, allocations: 454.3 kB / 0.7038 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.1873, allocations: 334.5 kB / 0.7042 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.1878, allocations: 418.3 kB / 0.7046 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/0.1879, allocations: 32 kB / 0.7046 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.1886, allocations: 435.1 kB / 0.705 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.1889, allocations: 235.3 kB / 0.7052 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.1892, allocations: 338.1 kB / 0.7055 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.1903, allocations: 0.9733 MB / 0.7065 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1903, allocations: 4 kB / 0.7065 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1903, allocations: 0 / 0.7065 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.1903, allocations: 0 / 0.7065 GB, free: 6.77 MB / 0.4981 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.001588/0.1919, allocations: 0.9776 MB / 0.7075 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1919, allocations: 11.97 kB / 0.7075 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.1934, allocations: 199.8 kB / 0.7077 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.1941, allocations: 0.4905 MB / 0.7081 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.1941, allocations: 33.38 kB / 0.7082 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.1943, allocations: 64.47 kB / 0.7082 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1955, allocations: 0.8241 MB / 0.709 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.1956, allocations: 3.938 kB / 0.709 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.1956, allocations: 23.98 kB / 0.7091 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000217/0.1959, allocations: 68.95 kB / 0.7091 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009528/0.1968, allocations: 0.5658 MB / 0.7097 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.2016, allocations: 4.585 MB / 0.7142 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004952/0.2021, allocations: 291.3 kB / 0.7144 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.2024, allocations: 229.3 kB / 0.7147 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.2025, allocations: 4.281 kB / 0.7147 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2025, allocations: 34.84 kB / 0.7147 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.2025, allocations: 0 / 0.7147 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.00585/0.2084, allocations: 2.631 MB / 0.7173 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.2084, allocations: 55.41 kB / 0.7173 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.2089, allocations: 470 kB / 0.7178 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.209, allocations: 37.7 kB / 0.7178 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.2092, allocations: 335.7 kB / 0.7181 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2094, allocations: 145.9 kB / 0.7183 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2096, allocations: 106.2 kB / 0.7184 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.2097, allocations: 358.8 kB / 0.7187 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.2101, allocations: 241 kB / 0.7189 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.2107, allocations: 406.4 kB / 0.7193 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.2116, allocations: 0.6779 MB / 0.72 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.2116, allocations: 0 / 0.72 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00179/0.2134, allocations: 0.9207 MB / 0.7209 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.2135, allocations: 8.656 kB / 0.7209 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.2135, allocations: 7.938 kB / 0.7209 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/0.2143, allocations: 230.3 kB / 0.7211 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.2149, allocations: 123.8 kB / 0.7212 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/0.2203, allocations: 4.931 MB / 0.726 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.2207, allocations: 32.09 kB / 0.7261 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.2208, allocations: 27.98 kB / 0.7261 GB, free: 1.391 MB / 0.5137 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.0002997/0.2211, allocations: 234.3 kB / 0.7263 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.2212, allocations: 59.34 kB / 0.7264 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.2228, allocations: 0.7697 MB / 0.7271 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2228, allocations: 4 kB / 0.7271 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2228, allocations: 4 kB / 0.7271 GB, free: 308 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2228, allocations: 3.984 kB / 0.7271 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.2255, allocations: 1.498 MB / 0.7286 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.2255, allocations: 4 kB / 0.7286 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.2259, allocations: 63.89 kB / 0.7287 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/0.2266, allocations: 206.5 kB / 0.7289 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.2267, allocations: 12 kB / 0.7289 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.2318, allocations: 4.872 MB / 0.7336 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2318, allocations: 4.031 kB / 0.7336 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.2338, allocations: 1.147 MB / 0.7348 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.234, allocations: 168.4 kB / 0.7349 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.677e-05/0.2341, allocations: 12 kB / 0.7349 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2344, allocations: 23.97 kB / 0.735 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.095e-05/0.2345, allocations: 43.89 kB / 0.735 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.2345, allocations: 12 kB / 0.735 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003624/0.2349, allocations: 318.9 kB / 0.7353 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2349, allocations: 0 / 0.7353 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006368/0.2356, allocations: 168 kB / 0.7355 GB, free: 7.211 MB / 0.5294 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.0001593/0.2357, allocations: 115.2 kB / 0.7356 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.2374, allocations: 0.9964 MB / 0.7366 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.2374, allocations: 4 kB / 0.7366 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.2384, allocations: 0.684 MB / 0.7372 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.2393, allocations: 171.1 kB / 0.7374 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2415, allocations: 1.522 MB / 0.7389 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006103/0.2421, allocations: 0.9455 MB / 0.7398 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003547/0.2425, allocations: 113 kB / 0.7399 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2426, allocations: 47.31 kB / 0.74 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.2426, allocations: 0 / 0.74 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of Templates: time 0.01548/0.2581, allocations: 8.556 MB / 0.7483 GB, free: 10.03 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)