Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.603/1.603, allocations: 287.4 MB / 302.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 187 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008195/0.0008198, allocations: 95.64 kB / 0.7431 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 11.86 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1756, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004397/0.18, allocations: 4.891 MB / 0.9835 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1833, allocations: 2.504 MB / 0.986 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.1838, allocations: 23.75 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.1841, allocations: 103.1 kB / 0.9861 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.1849, allocations: 330.2 kB / 0.9864 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007491/0.1857, allocations: 308.4 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008724/0.1866, allocations: 1.053 MB / 0.9877 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009846/0.1875, allocations: 0.7826 MB / 0.9885 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004006/0.188, allocations: 310.7 kB / 0.9888 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.1884, allocations: 374.6 kB / 0.9891 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.1885, allocations: 28 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.1889, allocations: 187.7 kB / 0.9893 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.189, allocations: 215.4 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1892, allocations: 141.3 kB / 0.9897 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.1897, allocations: 0.7288 MB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1897, allocations: 8 kB / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1897, allocations: 0 / 0.9904 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.1897, allocations: 0 / 0.9904 GB, free: 16.05 MB / 0.6198 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.0009898/0.1907, allocations: 0.8452 MB / 0.9912 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1908, allocations: 8.031 kB / 0.9912 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.826e-05/0.1908, allocations: 102.7 kB / 0.9913 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1919, allocations: 195.9 kB / 0.9915 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.1924, allocations: 498.3 kB / 0.992 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1925, allocations: 37.36 kB / 0.992 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.1926, allocations: 60.53 kB / 0.9921 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007947/0.1934, allocations: 0.8238 MB / 0.9929 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1934, allocations: 0 / 0.9929 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.1935, allocations: 23.98 kB / 0.9929 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.1936, allocations: 68.89 kB / 0.993 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.1943, allocations: 0.5696 MB / 0.9935 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002696/0.197, allocations: 4.596 MB / 0.998 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.1973, allocations: 299.2 kB / 0.9983 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.1976, allocations: 225.3 kB / 0.9985 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1976, allocations: 4.281 kB / 0.9985 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.1976, allocations: 30.84 kB / 0.9986 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.383e-06/0.1976, allocations: 4 kB / 0.9986 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004173/0.2018, allocations: 2.623 MB / 1.001 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.2018, allocations: 55.41 kB / 1.001 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.2021, allocations: 462 kB / 1.002 GB, free: 3.859 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.2022, allocations: 41.69 kB / 1.002 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2023, allocations: 343.6 kB / 1.002 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.2024, allocations: 141.9 kB / 1.002 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.229e-05/0.2024, allocations: 12 kB / 1.002 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.2025, allocations: 370.8 kB / 1.002 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.2027, allocations: 233 kB / 1.003 GB, free: 2.719 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.203, allocations: 410.5 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.2036, allocations: 0.67 MB / 1.004 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2037, allocations: 3.938 kB / 1.004 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001217/0.2049, allocations: 0.9211 MB / 1.005 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2049, allocations: 8 kB / 1.005 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.2049, allocations: 4 kB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006301/0.2056, allocations: 222.6 kB / 1.005 GB, free: 328 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.206, allocations: 115.8 kB / 1.005 GB, free: 212 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/0.2102, allocations: 4.926 MB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003477/0.2106, allocations: 40.16 kB / 1.01 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.2106, allocations: 24 kB / 1.01 GB, free: 10.82 MB / 0.6355 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.0002464/0.2109, allocations: 238.8 kB / 1.01 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.211, allocations: 55.48 kB / 1.01 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.2123, allocations: 0.7779 MB / 1.011 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2123, allocations: 4 kB / 1.011 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2123, allocations: 4 kB / 1.011 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2123, allocations: 0 / 1.011 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.2144, allocations: 1.498 MB / 1.012 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.2144, allocations: 0 / 1.012 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.2148, allocations: 71.88 kB / 1.012 GB, free: 8.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005859/0.2153, allocations: 202.5 kB / 1.013 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2154, allocations: 12 kB / 1.013 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003961/0.2194, allocations: 4.872 MB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.2194, allocations: 7.938 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.2209, allocations: 1.127 MB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.2211, allocations: 176.4 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2212, allocations: 16 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.2215, allocations: 27.91 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.2216, allocations: 43.77 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.2216, allocations: 12 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002935/0.2219, allocations: 310.9 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2219, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005285/0.2225, allocations: 164 kB / 1.019 GB, free: 0.6445 MB / 0.6355 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 (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%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001831/0.2243, allocations: 1.696 MB / 1.021 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.2258, allocations: 0.9966 MB / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2258, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008728/0.2267, allocations: 0.684 MB / 1.023 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.2276, allocations: 171 kB / 1.023 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004843/0.2324, allocations: 3.862 MB / 1.026 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.2329, allocations: 0.9416 MB / 1.027 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.2333, allocations: 113 kB / 1.027 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.2335, allocations: 211.4 kB / 1.028 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of SimCode: time 2.614e-06/0.2335, allocations: 0 / 1.028 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4864/0.72, allocations: 13.3 MB / 1.041 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.7202, allocations: 226.1 kB / 1.041 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.276, allocations: 0 / 1.041 GB, free: 10.45 MB / 0.6667 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)