Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.001154/0.001154, allocations: 184.5 kB / 372.3 MB, free: 10.15 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.584/1.584, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0007759/0.0007756, allocations: 96.64 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 11 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00425/0.1626, allocations: 4.891 MB / 0.985 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002999/0.1657, allocations: 2.508 MB / 0.9874 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.1661, allocations: 23.81 kB / 0.9874 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1664, allocations: 99.14 kB / 0.9875 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007993/0.1672, allocations: 370.1 kB / 0.9879 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.168, allocations: 327.3 kB / 0.9882 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008432/0.1688, allocations: 1.06 MB / 0.9892 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1699, allocations: 0.7716 MB / 0.99 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.1703, allocations: 306.7 kB / 0.9903 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1708, allocations: 374.6 kB / 0.9906 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.198e-05/0.1709, allocations: 28 kB / 0.9907 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.1714, allocations: 423 kB / 0.9911 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1716, allocations: 215.4 kB / 0.9913 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.1719, allocations: 324.2 kB / 0.9916 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005707/0.1725, allocations: 0.7366 MB / 0.9923 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1725, allocations: 0 / 0.9923 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1725, allocations: 0 / 0.9923 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.1725, allocations: 0 / 0.9923 GB, free: 14.78 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.001181/0.1737, allocations: 0.8607 MB / 0.9931 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1738, allocations: 12.03 kB / 0.9932 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.1739, allocations: 102.7 kB / 0.9933 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.1752, allocations: 191.9 kB / 0.9934 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.1757, allocations: 498.3 kB / 0.9939 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1757, allocations: 41.31 kB / 0.994 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.1759, allocations: 64.53 kB / 0.994 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.1768, allocations: 0.8176 MB / 0.9948 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1768, allocations: 11.94 kB / 0.9948 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.1768, allocations: 20 kB / 0.9948 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/0.177, allocations: 64.95 kB / 0.9949 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.1777, allocations: 0.5658 MB / 0.9955 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.1808, allocations: 4.6 MB / 0.9999 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1812, allocations: 287.3 kB / 1 GB, free: 6.133 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.1814, allocations: 221.3 kB / 1 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1815, allocations: 4.281 kB / 1 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.1815, allocations: 46.83 kB / 1 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.1815, allocations: 0 / 1 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.004549/0.186, allocations: 2.626 MB / 1.003 GB, free: 3.102 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.1861, allocations: 59.39 kB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.1864, allocations: 458 kB / 1.004 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1865, allocations: 37.7 kB / 1.004 GB, free: 2.527 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1866, allocations: 339.7 kB / 1.004 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.1867, allocations: 145.9 kB / 1.004 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.1867, allocations: 8 kB / 1.004 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.1868, allocations: 366.8 kB / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002699/0.187, allocations: 229 kB / 1.005 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.1874, allocations: 414.4 kB / 1.005 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.188, allocations: 0.674 MB / 1.006 GB, free: 220 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.188, allocations: 0 / 1.006 GB, free: 220 kB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001453/0.1895, allocations: 0.9168 MB / 1.007 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.1895, allocations: 13.66 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.1895, allocations: 7.984 kB / 1.007 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007588/0.1903, allocations: 231 kB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.1908, allocations: 115.8 kB / 1.007 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.1949, allocations: 4.936 MB / 1.012 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.1953, allocations: 31.97 kB / 1.012 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.1953, allocations: 24 kB / 1.012 GB, free: 9.523 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.0002549/0.1956, allocations: 231.7 kB / 1.012 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.78e-05/0.1957, allocations: 59.34 kB / 1.012 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.197, allocations: 0.7703 MB / 1.013 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.197, allocations: 4 kB / 1.013 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.197, allocations: 4 kB / 1.013 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.197, allocations: 0 / 1.013 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1992, allocations: 1.498 MB / 1.014 GB, free: 6.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1992, allocations: 4.406 kB / 1.014 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.1996, allocations: 79.88 kB / 1.014 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006292/0.2002, allocations: 202.4 kB / 1.015 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.2002, allocations: 8 kB / 1.015 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/0.2041, allocations: 4.872 MB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.2041, allocations: 7.969 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2057, allocations: 1.143 MB / 1.02 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.2059, allocations: 172.3 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.874e-05/0.2059, allocations: 8 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.2063, allocations: 27.97 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.2063, allocations: 43.89 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.2064, allocations: 12 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002789/0.2067, allocations: 314.9 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2067, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005364/0.2072, allocations: 168 kB / 1.021 GB, free: 15.34 MB / 0.6511 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.001773/0.209, allocations: 1.68 MB / 1.023 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.2103, allocations: 1.001 MB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2104, allocations: 0 / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008481/0.2112, allocations: 0.6878 MB / 1.024 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009083/0.2121, allocations: 173.7 kB / 1.025 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00506/0.2172, allocations: 3.857 MB / 1.028 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.2177, allocations: 0.9494 MB / 1.029 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003587/0.218, allocations: 113 kB / 1.029 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.2183, allocations: 211.4 kB / 1.03 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.2183, allocations: 0 / 1.03 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6057/0.824, allocations: 13.4 MB / 1.043 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.8243, allocations: 233.6 kB / 1.043 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.11, allocations: 3.938 kB / 1.043 GB, free: 9.027 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)