Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",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.00159/0.00159, allocations: 106.8 kB / 17.06 MB, free: 6.094 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.00183/0.00183, allocations: 195 kB / 18 MB, free: 5.172 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.963/0.963, allocations: 119.3 MB / 411.2 MB, free: 9.434 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 65.89 kB / 0.5719 GB, free: 39.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.148, allocations: 80.7 MB / 0.6507 GB, free: 12.03 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.002547/0.1506, allocations: 1.349 MB / 0.652 GB, free: 10.67 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0002727/0.1509, allocations: 55.78 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.151, allocations: 4 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1511, allocations: 3.938 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 9.808e-05/0.1512, allocations: 23.84 kB / 0.6521 GB, free: 10.59 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.1514, allocations: 15.97 kB / 0.6521 GB, free: 10.57 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.152, allocations: 0.6591 MB / 0.6528 GB, free: 9.91 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.154e-05/0.1521, allocations: 8 kB / 0.6528 GB, free: 9.902 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.1524, allocations: 239.7 kB / 0.653 GB, free: 9.668 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005873/0.153, allocations: 326 kB / 0.6533 GB, free: 9.348 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.1532, allocations: 40 kB / 0.6533 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1533, allocations: 32 kB / 0.6534 GB, free: 9.277 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.1535, allocations: 280 kB / 0.6536 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.000368/0.1539, allocations: 290.8 kB / 0.6539 GB, free: 8.719 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.1543, allocations: 479.2 kB / 0.6544 GB, free: 8.25 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1543, allocations: 0 / 0.6544 GB, free: 8.25 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.125e-06/0.1543, allocations: 0 / 0.6544 GB, free: 8.25 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.948e-05/0.1544, allocations: 3.938 kB / 0.6544 GB, free: 8.246 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003112/0.1575, allocations: 1.187 MB / 0.6555 GB, free: 7.004 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1575, allocations: 8.031 kB / 0.6555 GB, free: 6.996 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.1577, allocations: 94.7 kB / 0.6556 GB, free: 6.895 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.1578, allocations: 56.47 kB / 0.6557 GB, free: 6.84 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.1584, allocations: 323.6 kB / 0.656 GB, free: 6.484 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.1584, allocations: 57.38 kB / 0.656 GB, free: 6.43 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1586, allocations: 112.1 kB / 0.6562 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1596, allocations: 0.6548 MB / 0.6568 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1597, allocations: 3.938 kB / 0.6568 GB, free: 5.656 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.1597, allocations: 20 kB / 0.6568 GB, free: 5.637 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1597, allocations: 12 kB / 0.6568 GB, free: 5.625 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.1604, allocations: 403.6 kB / 0.6572 GB, free: 5.23 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.1644, allocations: 1.789 MB / 0.659 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007681/0.1721, allocations: 2.515 MB / 0.6614 GB, free: 0.8633 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.1728, allocations: 370.6 kB / 0.6618 GB, free: 0.5 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 7.683e-05/0.1729, allocations: 8.656 kB / 0.6618 GB, free: 500 kB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.1729, allocations: 43.16 kB / 0.6618 GB, free: 448 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.1729, allocations: 0 / 0.6618 GB, free: 448 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.001904/0.1748, allocations: 1.105 MB / 0.6629 GB, free: 15.33 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1749, allocations: 64.06 kB / 0.663 GB, free: 15.25 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.1751, allocations: 145.8 kB / 0.6631 GB, free: 15.1 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.026e-05/0.1751, allocations: 49.7 kB / 0.6631 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.1752, allocations: 146.2 kB / 0.6633 GB, free: 14.89 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.1755, allocations: 382.5 kB / 0.6637 GB, free: 14.52 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.1758, allocations: 235 kB / 0.6639 GB, free: 14.28 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.176, allocations: 366.8 kB / 0.6642 GB, free: 13.91 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000668/0.1767, allocations: 450.2 kB / 0.6647 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006763/0.1773, allocations: 467.5 kB / 0.6651 GB, free: 13.02 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.1787, allocations: 0.9766 MB / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.1787, allocations: 0 / 0.6661 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.001709/0.1804, allocations: 1.219 MB / 0.6672 GB, free: 10.82 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1805, allocations: 4 kB / 0.6672 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1805, allocations: 0 / 0.6672 GB, free: 10.81 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/0.1805, allocations: 11.98 kB / 0.6673 GB, free: 10.8 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.1822, allocations: 447.5 kB / 0.6677 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/0.1822, allocations: 4 kB / 0.6677 GB, free: 10.36 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.1828, allocations: 126.9 kB / 0.6678 GB, free: 10.23 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.1829, allocations: 32 kB / 0.6678 GB, free: 10.2 MB / 0.5139 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 (162): * Single equations (assignments): 162 * 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.0002677/0.1832, allocations: 210.4 kB / 0.668 GB, free: 9.988 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1833, allocations: 35.66 kB / 0.6681 GB, free: 9.953 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1835, allocations: 95.39 kB / 0.6682 GB, free: 9.855 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1836, allocations: 8 kB / 0.6682 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.1836, allocations: 0 / 0.6682 GB, free: 9.848 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.1836, allocations: 7.969 kB / 0.6682 GB, free: 9.84 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008001/0.1844, allocations: 0.6145 MB / 0.6688 GB, free: 9.172 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.1844, allocations: 3.938 kB / 0.6688 GB, free: 9.168 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/0.1868, allocations: 443.6 kB / 0.6692 GB, free: 8.734 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.1868, allocations: 4 kB / 0.6692 GB, free: 8.73 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/0.1869, allocations: 51.94 kB / 0.6693 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.187, allocations: 4 kB / 0.6693 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.187, allocations: 0 / 0.6693 GB, free: 8.676 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.1888, allocations: 1.273 MB / 0.6705 GB, free: 7.387 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.1889, allocations: 112.6 kB / 0.6706 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.189, allocations: 43.95 kB / 0.6707 GB, free: 7.215 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.1896, allocations: 55.88 kB / 0.6707 GB, free: 7.16 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1897, allocations: 48.58 kB / 0.6708 GB, free: 7.113 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.1898, allocations: 27.98 kB / 0.6708 GB, free: 7.086 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 6.186e-05/0.1898, allocations: 95.27 kB / 0.6709 GB, free: 6.992 MB / 0.5139 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1899, allocations: 0 / 0.6709 GB, free: 6.992 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005638/0.1904, allocations: 232 kB / 0.6711 GB, free: 6.766 MB / 0.5139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],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],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],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 (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 Backend phase and start with SimCode phase: time 0.002169/0.1926, allocations: 1.881 MB / 0.6729 GB, free: 4.859 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.1942, allocations: 0.9774 MB / 0.6739 GB, free: 3.883 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1942, allocations: 0 / 0.6739 GB, free: 3.883 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.1948, allocations: 447.5 kB / 0.6743 GB, free: 3.445 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.1952, allocations: 28 kB / 0.6743 GB, free: 3.418 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.2079, allocations: 10.95 MB / 0.685 GB, free: 8.383 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.2084, allocations: 0.9113 MB / 0.6859 GB, free: 7.445 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.0007854/0.2092, allocations: 316.5 kB / 0.6862 GB, free: 7.133 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.2097, allocations: 183.4 kB / 0.6864 GB, free: 6.953 MB / 0.5295 GB Notification: Performance of SimCode: time 1.132e-06/0.2097, allocations: 0 / 0.6864 GB, free: 6.953 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0402/0.2499, allocations: 12.77 MB / 0.6989 GB, free: 10.39 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/8.805, allocations: 12.16 kB / 0.6989 GB, free: 10.38 MB / 0.5452 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1)