Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.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/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-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(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20",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.001585/0.001585, allocations: 106 kB / 17.06 MB, free: 6.016 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.002074/0.002074, allocations: 195 kB / 18 MB, free: 5.094 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.385/1.385, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.012/1.012, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 64.95 kB / 0.5719 GB, free: 39.16 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1697, allocations: 80.69 MB / 0.6507 GB, free: 12.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.00359/0.1733, allocations: 1.349 MB / 0.652 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0003823/0.1737, allocations: 51.8 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.032e-05/0.1739, allocations: 0 / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.174, allocations: 7.922 kB / 0.6521 GB, free: 10.65 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.1742, allocations: 19.91 kB / 0.6521 GB, free: 10.63 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.1745, allocations: 23.95 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.000466/0.1749, allocations: 355.4 kB / 0.6525 GB, free: 10.26 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 9.293e-05/0.1751, allocations: 7.984 kB / 0.6525 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.1753, allocations: 131.8 kB / 0.6526 GB, free: 10.12 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.1758, allocations: 179.6 kB / 0.6528 GB, free: 9.949 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.1759, allocations: 16 kB / 0.6528 GB, free: 9.934 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.176, allocations: 23.94 kB / 0.6528 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.1762, allocations: 139.7 kB / 0.6529 GB, free: 9.773 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.1765, allocations: 143.4 kB / 0.6531 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1769, allocations: 256 kB / 0.6533 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.177, allocations: 0 / 0.6533 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.356e-06/0.177, allocations: 0 / 0.6533 GB, free: 9.383 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.177, allocations: 0 / 0.6533 GB, free: 9.383 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.002188/0.1792, allocations: 0.7493 MB / 0.654 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.1792, allocations: 8.031 kB / 0.654 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.1794, allocations: 66.66 kB / 0.6541 GB, free: 8.496 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1795, allocations: 36.66 kB / 0.6541 GB, free: 8.461 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.18, allocations: 236.1 kB / 0.6544 GB, free: 8.191 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.18, allocations: 32.88 kB / 0.6544 GB, free: 8.16 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.1801, allocations: 60.17 kB / 0.6545 GB, free: 8.102 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007018/0.1809, allocations: 357.2 kB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.1809, allocations: 3.938 kB / 0.6548 GB, free: 7.742 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1809, allocations: 8 kB / 0.6548 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1809, allocations: 8 kB / 0.6548 GB, free: 7.727 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.1814, allocations: 206.1 kB / 0.655 GB, free: 7.523 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.1843, allocations: 0.9943 MB / 0.656 GB, free: 6.48 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.1887, allocations: 1.217 MB / 0.6572 GB, free: 5.254 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.1891, allocations: 192.8 kB / 0.6574 GB, free: 5.062 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 5.457e-05/0.1892, allocations: 7.938 kB / 0.6574 GB, free: 5.055 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.1892, allocations: 30.56 kB / 0.6574 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/0.1892, allocations: 0 / 0.6574 GB, free: 5.016 MB / 0.4983 GB Notification: Performance of matching and sorting (n=42): time 0.00139/0.1906, allocations: 0.5707 MB / 0.658 GB, free: 4.438 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.1907, allocations: 67.34 kB / 0.658 GB, free: 4.359 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.1909, allocations: 129.8 kB / 0.6581 GB, free: 4.223 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.61e-05/0.191, allocations: 38.08 kB / 0.6582 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.1912, allocations: 117.2 kB / 0.6583 GB, free: 4.059 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.1914, allocations: 193.2 kB / 0.6585 GB, free: 3.867 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.1917, allocations: 126.3 kB / 0.6586 GB, free: 3.738 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0002376/0.1919, allocations: 346.8 kB / 0.6589 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.1924, allocations: 217.2 kB / 0.6591 GB, free: 3.18 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.1928, allocations: 241.7 kB / 0.6594 GB, free: 2.941 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.1937, allocations: 0.4892 MB / 0.6598 GB, free: 2.449 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.1937, allocations: 0 / 0.6598 GB, free: 2.449 MB / 0.4983 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001035/0.1947, allocations: 0.6334 MB / 0.6605 GB, free: 1.809 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.1948, allocations: 4 kB / 0.6605 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1948, allocations: 0 / 0.6605 GB, free: 1.805 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.1948, allocations: 4 kB / 0.6605 GB, free: 1.801 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009172/0.1957, allocations: 223.8 kB / 0.6607 GB, free: 1.582 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.1958, allocations: 4 kB / 0.6607 GB, free: 1.578 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.1961, allocations: 59.5 kB / 0.6607 GB, free: 1.52 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.1961, allocations: 16 kB / 0.6608 GB, free: 1.504 MB / 0.4983 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.1963, allocations: 162.6 kB / 0.6609 GB, free: 1.336 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.1964, allocations: 27.73 kB / 0.6609 GB, free: 1.309 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1965, allocations: 53.91 kB / 0.661 GB, free: 1.254 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/0.1965, allocations: 8 kB / 0.661 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1966, allocations: 0 / 0.661 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1966, allocations: 0 / 0.661 GB, free: 1.246 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.1971, allocations: 397 kB / 0.6614 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1971, allocations: 0 / 0.6614 GB, free: 0.8086 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.1983, allocations: 223.8 kB / 0.6616 GB, free: 0.5898 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.1984, allocations: 4 kB / 0.6616 GB, free: 0.5859 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.1984, allocations: 27.97 kB / 0.6616 GB, free: 0.5586 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1984, allocations: 0 / 0.6616 GB, free: 0.5586 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1985, allocations: 0 / 0.6616 GB, free: 0.5586 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1995, allocations: 0.7101 MB / 0.6623 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.1996, allocations: 96.86 kB / 0.6624 GB, free: 15.72 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.1997, allocations: 27.97 kB / 0.6624 GB, free: 15.69 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.2, allocations: 19.98 kB / 0.6625 GB, free: 15.67 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.073e-05/0.2001, allocations: 27.95 kB / 0.6625 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.2001, allocations: 8 kB / 0.6625 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.2002, allocations: 99.27 kB / 0.6626 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2002, allocations: 288 / 0.6626 GB, free: 15.54 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0003908/0.2006, allocations: 119.8 kB / 0.6627 GB, free: 15.42 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (cur_x[1],cur_x[2],cur_x[3],cur_x[4],cur_x[5],cur_x[6],cur_x[7],cur_x[8],cur_x[9],cur_x[10],cur_x[11],cur_x[12],cur_x[13],cur_x[14],cur_x[15],cur_x[16],cur_x[17],cur_x[18],cur_x[19],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],vol[11],vol[12],vol[13],vol[14],vol[15],vol[16],vol[17],vol[18],vol[19],vol[20],vvol) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.202, allocations: 1.269 MB / 0.6639 GB, free: 14.13 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0008044/0.2028, allocations: 0.4921 MB / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2028, allocations: 0 / 0.6644 GB, free: 13.64 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.2032, allocations: 227.5 kB / 0.6646 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2035, allocations: 16 kB / 0.6646 GB, free: 13.4 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007415/0.2109, allocations: 6.027 MB / 0.6705 GB, free: 7.285 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.2114, allocations: 0.7998 MB / 0.6713 GB, free: 6.457 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 0.0004149/0.2118, allocations: 154.8 kB / 0.6715 GB, free: 6.309 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.2121, allocations: 99.41 kB / 0.6716 GB, free: 6.211 MB / 0.5139 GB Notification: Performance of SimCode: time 2.305e-06/0.2121, allocations: 0 / 0.6716 GB, free: 6.211 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2407, allocations: 7.092 MB / 0.6785 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.093, allocations: 9 kB / 0.6785 GB, free: 15.31 MB / 0.5295 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20.pipe 2>&1)