Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001175/0.001175, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 75.7 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1604, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005976/0.1664, allocations: 5.539 MB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00331/0.1697, allocations: 2.678 MB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1699, allocations: 19.88 kB / 0.7908 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1713, allocations: 0.6316 MB / 0.7915 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.1719, allocations: 378.2 kB / 0.7918 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.1725, allocations: 378.2 kB / 0.7922 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009261/0.1735, allocations: 1.252 MB / 0.7934 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005706/0.174, allocations: 462.3 kB / 0.7938 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.1744, allocations: 338.5 kB / 0.7942 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.1748, allocations: 402.5 kB / 0.7946 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.1748, allocations: 39.94 kB / 0.7946 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.1754, allocations: 439.1 kB / 0.795 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1756, allocations: 227.4 kB / 0.7952 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.1759, allocations: 330.2 kB / 0.7955 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.1767, allocations: 0.9811 MB / 0.7965 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1767, allocations: 0 / 0.7965 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 6.62e-07/0.1767, allocations: 0 / 0.7965 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.1767, allocations: 4 kB / 0.7965 GB, free: 15.81 MB / 0.6231 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.001296/0.178, allocations: 0.9737 MB / 0.7975 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1781, allocations: 8.031 kB / 0.7975 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.579e-05/0.1782, allocations: 94.69 kB / 0.7976 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.1794, allocations: 199.9 kB / 0.7977 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.18, allocations: 498.3 kB / 0.7982 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.18, allocations: 37.36 kB / 0.7983 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.1802, allocations: 60.53 kB / 0.7983 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1812, allocations: 0.8277 MB / 0.7991 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1812, allocations: 4 kB / 0.7991 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.113e-05/0.1813, allocations: 23.98 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/0.1814, allocations: 64.95 kB / 0.7992 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007837/0.1822, allocations: 0.5696 MB / 0.7998 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.1859, allocations: 4.589 MB / 0.8042 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.1863, allocations: 299.2 kB / 0.8045 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.1866, allocations: 229.3 kB / 0.8048 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1866, allocations: 288 / 0.8048 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1867, allocations: 46.77 kB / 0.8048 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.052e-06/0.1867, allocations: 0 / 0.8048 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.00492/0.1916, allocations: 2.631 MB / 0.8074 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.1916, allocations: 59.41 kB / 0.8074 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.1921, allocations: 465.9 kB / 0.8079 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.1921, allocations: 33.7 kB / 0.8079 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1923, allocations: 347.6 kB / 0.8082 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.933e-05/0.1924, allocations: 145.9 kB / 0.8084 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.1925, allocations: 102.2 kB / 0.8085 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1927, allocations: 362.8 kB / 0.8088 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.193, allocations: 233 kB / 0.809 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/0.1934, allocations: 414.4 kB / 0.8094 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.1942, allocations: 0.674 MB / 0.8101 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1942, allocations: 4 kB / 0.8101 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001481/0.1957, allocations: 0.9213 MB / 0.811 GB, free: 84 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1957, allocations: 8.031 kB / 0.811 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1957, allocations: 8 kB / 0.811 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007225/0.1964, allocations: 226.4 kB / 0.8112 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.1969, allocations: 111.8 kB / 0.8113 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004245/0.2012, allocations: 4.935 MB / 0.8161 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003589/0.2015, allocations: 31.97 kB / 0.8162 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.2016, allocations: 24.19 kB / 0.8162 GB, free: 10.33 MB / 0.6387 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.000228/0.2018, allocations: 225.7 kB / 0.8164 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.956e-05/0.2019, allocations: 55.34 kB / 0.8165 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.2033, allocations: 0.7819 MB / 0.8172 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2033, allocations: 8.078 kB / 0.8172 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.2033, allocations: 7.984 kB / 0.8172 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2033, allocations: 3.984 kB / 0.8173 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.2054, allocations: 1.498 MB / 0.8187 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2054, allocations: 4 kB / 0.8187 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.2058, allocations: 59.95 kB / 0.8188 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006403/0.2064, allocations: 214.5 kB / 0.819 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.2065, allocations: 8 kB / 0.819 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.2105, allocations: 4.868 MB / 0.8237 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2105, allocations: 7.875 kB / 0.8237 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2121, allocations: 1.143 MB / 0.8249 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/0.2123, allocations: 168.4 kB / 0.825 GB, free: 0.6992 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.2124, allocations: 8 kB / 0.825 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.2127, allocations: 23.97 kB / 0.8251 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.2128, allocations: 47.89 kB / 0.8251 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.2128, allocations: 12 kB / 0.8251 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003105/0.2131, allocations: 314.9 kB / 0.8254 GB, free: 312 kB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2132, allocations: 0 / 0.8254 GB, free: 312 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006236/0.2138, allocations: 172 kB / 0.8256 GB, free: 140 kB / 0.6387 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.001854/0.2156, allocations: 1.692 MB / 0.8272 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.217, allocations: 1.004 MB / 0.8282 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.217, allocations: 0 / 0.8282 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008647/0.2179, allocations: 0.6914 MB / 0.8289 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.2187, allocations: 175.7 kB / 0.8291 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.2256, allocations: 5.932 MB / 0.8348 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/0.226, allocations: 0.9455 MB / 0.8358 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003219/0.2264, allocations: 121 kB / 0.8359 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.2266, allocations: 215.4 kB / 0.8361 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.2266, allocations: 0 / 0.8361 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.063/2.289, allocations: 13.57 MB / 0.8493 GB, free: 7.652 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/2.29, allocations: 248.5 kB / 0.8496 GB, free: 7.391 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/4.119, allocations: 4 kB / 0.8496 GB, free: 7.387 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)