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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_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.001014/0.001014, 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.001123/0.001123, allocations: 197.4 kB / 16.14 MB, free: 6.664 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.243/1.243, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 282.3 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8822/0.8822, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 93.64 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.144, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007042/0.1511, allocations: 5.538 MB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.1551, allocations: 2.654 MB / 0.6876 GB, free: 8.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.1556, allocations: 23.81 kB / 0.6876 GB, free: 8.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.1572, allocations: 0.6472 MB / 0.6882 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008786/0.1581, allocations: 382.1 kB / 0.6886 GB, free: 7.809 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.1589, allocations: 374.3 kB / 0.6889 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1601, allocations: 1.252 MB / 0.6902 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006975/0.1609, allocations: 446.1 kB / 0.6906 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004895/0.1614, allocations: 334.5 kB / 0.6909 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005761/0.1619, allocations: 414.3 kB / 0.6913 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1621, allocations: 32 kB / 0.6913 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007065/0.1628, allocations: 447.1 kB / 0.6918 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.163, allocations: 231.3 kB / 0.692 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.1633, allocations: 334.2 kB / 0.6923 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008663/0.1642, allocations: 0.9772 MB / 0.6933 GB, free: 3.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1642, allocations: 0 / 0.6933 GB, free: 3.012 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1642, allocations: 0 / 0.6933 GB, free: 3.012 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1642, allocations: 0 / 0.6933 GB, free: 3.012 MB / 494.1 MB 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.001376/0.1656, allocations: 0.9815 MB / 0.6942 GB, free: 1.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1657, allocations: 12.03 kB / 0.6942 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.911e-05/0.1658, allocations: 94.7 kB / 0.6943 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.167, allocations: 191.9 kB / 0.6945 GB, free: 1.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.1676, allocations: 494.4 kB / 0.695 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.1677, allocations: 33.38 kB / 0.695 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.1678, allocations: 72.38 kB / 0.6951 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.1689, allocations: 0.8283 MB / 0.6959 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.1689, allocations: 7.984 kB / 0.6959 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.1689, allocations: 24 kB / 0.6959 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001837/0.1691, allocations: 68.94 kB / 0.696 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008169/0.17, allocations: 0.5696 MB / 0.6965 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.1738, allocations: 4.593 MB / 0.701 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.1742, allocations: 291.3 kB / 0.7013 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.1745, allocations: 225.3 kB / 0.7015 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1746, allocations: 4.281 kB / 0.7015 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1746, allocations: 42.84 kB / 0.7016 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.1746, allocations: 0 / 0.7016 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005223/0.1798, allocations: 2.631 MB / 0.7041 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1799, allocations: 55.41 kB / 0.7042 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004274/0.1803, allocations: 466 kB / 0.7046 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1803, allocations: 33.7 kB / 0.7047 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1805, allocations: 343.6 kB / 0.705 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1806, allocations: 149.9 kB / 0.7051 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1808, allocations: 106.1 kB / 0.7052 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1809, allocations: 362.8 kB / 0.7056 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.1813, allocations: 237 kB / 0.7058 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.1817, allocations: 402.5 kB / 0.7062 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007789/0.1825, allocations: 0.6779 MB / 0.7068 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1825, allocations: 3.938 kB / 0.7068 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001544/0.184, allocations: 0.9171 MB / 0.7077 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1841, allocations: 8 kB / 0.7077 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1841, allocations: 11.94 kB / 0.7078 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007476/0.1848, allocations: 219 kB / 0.708 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.1853, allocations: 119.8 kB / 0.7081 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004395/0.1897, allocations: 4.938 MB / 0.7129 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/0.1902, allocations: 27.97 kB / 0.7129 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/0.1902, allocations: 27.98 kB / 0.713 GB, free: 13.54 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.0002687/0.1905, allocations: 221.5 kB / 0.7132 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.1906, allocations: 63.41 kB / 0.7132 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.192, allocations: 0.7695 MB / 0.714 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.192, allocations: 8 kB / 0.714 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.192, allocations: 4 kB / 0.714 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1921, allocations: 3.984 kB / 0.714 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.1943, allocations: 1.494 MB / 0.7155 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1943, allocations: 4 kB / 0.7155 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.1946, allocations: 68.11 kB / 0.7155 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006615/0.1953, allocations: 214.5 kB / 0.7157 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.1954, allocations: 8 kB / 0.7157 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.1995, allocations: 4.869 MB / 0.7205 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1995, allocations: 7.969 kB / 0.7205 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.2012, allocations: 1.135 MB / 0.7216 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.2014, allocations: 172.5 kB / 0.7218 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.2015, allocations: 11.98 kB / 0.7218 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.2018, allocations: 23.97 kB / 0.7218 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.2019, allocations: 43.83 kB / 0.7218 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2019, allocations: 8 kB / 0.7219 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003164/0.2022, allocations: 322.9 kB / 0.7222 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2023, allocations: 0 / 0.7222 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006271/0.2029, allocations: 172 kB / 0.7223 GB, free: 3.355 MB / 0.5137 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.001885/0.2048, allocations: 1.697 MB / 0.724 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.2063, allocations: 1.001 MB / 0.725 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2063, allocations: 0 / 0.725 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008864/0.2072, allocations: 0.6838 MB / 0.7256 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.208, allocations: 171.8 kB / 0.7258 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007296/0.2153, allocations: 5.946 MB / 0.7316 GB, free: 9.434 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/0.2158, allocations: 0.9455 MB / 0.7325 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003684/0.2162, allocations: 113 kB / 0.7326 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/0.2164, allocations: 215.4 kB / 0.7328 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.2164, allocations: 0 / 0.7328 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.2413, allocations: 13.59 MB / 0.7461 GB, free: 10.86 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.2415, allocations: 260.2 kB / 0.7464 GB, free: 10.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.062, allocations: 0 / 0.7464 GB, free: 10.61 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)