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.001075/0.001075, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001088/0.001088, allocations: 191.4 kB / 16.25 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 291 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8956/0.8956, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 98.61 kB / 0.5948 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1412, allocations: 86.99 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00614/0.1474, allocations: 5.526 MB / 0.6851 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1509, allocations: 2.636 MB / 0.6877 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1512, allocations: 23.81 kB / 0.6877 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.1528, allocations: 0.6428 MB / 0.6884 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007073/0.1535, allocations: 378.1 kB / 0.6887 GB, free: 7.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/0.1543, allocations: 370.2 kB / 0.6891 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.155, allocations: 0.963 MB / 0.69 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005971/0.1556, allocations: 0.5024 MB / 0.6905 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.156, allocations: 378.5 kB / 0.6909 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.1564, allocations: 426.3 kB / 0.6913 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.1565, allocations: 48 kB / 0.6913 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.1569, allocations: 359.3 kB / 0.6917 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.1571, allocations: 251.3 kB / 0.6919 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.1574, allocations: 346.2 kB / 0.6922 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.1582, allocations: 0.9928 MB / 0.6932 GB, free: 3.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1582, allocations: 4 kB / 0.6932 GB, free: 3.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1582, allocations: 0 / 0.6932 GB, free: 3.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1582, allocations: 3.938 kB / 0.6932 GB, free: 3.117 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.001283/0.1595, allocations: 0.9814 MB / 0.6942 GB, free: 2.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1596, allocations: 8.031 kB / 0.6942 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.637e-05/0.1597, allocations: 102.7 kB / 0.6943 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.1609, allocations: 191.9 kB / 0.6945 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005748/0.1615, allocations: 498.4 kB / 0.6949 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.1615, allocations: 41.36 kB / 0.695 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1617, allocations: 52.45 kB / 0.695 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/0.1626, allocations: 0.8284 MB / 0.6958 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1627, allocations: 7.938 kB / 0.6958 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.1627, allocations: 27.98 kB / 0.6959 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.1629, allocations: 64.94 kB / 0.6959 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.1636, allocations: 0.5697 MB / 0.6965 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.1672, allocations: 4.585 MB / 0.701 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.1676, allocations: 299.3 kB / 0.7013 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.1679, allocations: 225.3 kB / 0.7015 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1679, allocations: 12.27 kB / 0.7015 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1679, allocations: 34.84 kB / 0.7015 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.1679, allocations: 0 / 0.7015 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.00479/0.1727, allocations: 2.631 MB / 0.7041 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.1728, allocations: 55.41 kB / 0.7041 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.1732, allocations: 466 kB / 0.7046 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.1732, allocations: 29.7 kB / 0.7046 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1734, allocations: 347.6 kB / 0.7049 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.425e-05/0.1735, allocations: 145.9 kB / 0.7051 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.1736, allocations: 102.2 kB / 0.7052 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1738, allocations: 374.8 kB / 0.7055 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1741, allocations: 237 kB / 0.7058 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.1745, allocations: 410.4 kB / 0.7062 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.1752, allocations: 0.674 MB / 0.7068 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1752, allocations: 3.938 kB / 0.7068 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001447/0.1766, allocations: 0.9135 MB / 0.7077 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1767, allocations: 11.98 kB / 0.7077 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1767, allocations: 4 kB / 0.7077 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007101/0.1774, allocations: 226.6 kB / 0.7079 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.1779, allocations: 115.8 kB / 0.708 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004293/0.1822, allocations: 5.344 MB / 0.7133 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.1826, allocations: 27.97 kB / 0.7133 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.1826, allocations: 24 kB / 0.7133 GB, free: 13.21 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.0002379/0.1828, allocations: 229.7 kB / 0.7135 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.1829, allocations: 71.11 kB / 0.7136 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.1842, allocations: 0.7695 MB / 0.7144 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.1843, allocations: 7.984 kB / 0.7144 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1843, allocations: 4 kB / 0.7144 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1843, allocations: 0 / 0.7144 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.1863, allocations: 1.494 MB / 0.7158 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1864, allocations: 4 kB / 0.7158 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.1867, allocations: 67.88 kB / 0.7159 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/0.1873, allocations: 206.5 kB / 0.7161 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1873, allocations: 12 kB / 0.7161 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/0.1914, allocations: 5.274 MB / 0.7213 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1914, allocations: 3.938 kB / 0.7213 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.1929, allocations: 1.131 MB / 0.7224 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.1931, allocations: 176.3 kB / 0.7225 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.1931, allocations: 15.98 kB / 0.7225 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.1935, allocations: 19.97 kB / 0.7226 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.1935, allocations: 40.03 kB / 0.7226 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1936, allocations: 12 kB / 0.7226 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002738/0.1938, allocations: 314.9 kB / 0.7229 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1938, allocations: 0 / 0.7229 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005555/0.1944, allocations: 172 kB / 0.7231 GB, free: 2.613 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.001733/0.1961, allocations: 1.705 MB / 0.7247 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.1976, allocations: 1.053 MB / 0.7258 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1976, allocations: 0 / 0.7258 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.1984, allocations: 0.6836 MB / 0.7264 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.1992, allocations: 184.7 kB / 0.7266 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006624/0.2058, allocations: 5.947 MB / 0.7324 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.2063, allocations: 0.9456 MB / 0.7333 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.2066, allocations: 113 kB / 0.7335 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.2068, allocations: 215.3 kB / 0.7337 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.2068, allocations: 0 / 0.7337 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.144/2.35, allocations: 14.01 MB / 0.7473 GB, free: 9.664 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/2.351, allocations: 258.9 kB / 0.7476 GB, free: 9.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/4.27, allocations: 0 / 0.7476 GB, free: 9.41 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)