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.00181/0.00181, allocations: 106.6 kB / 17.06 MB, free: 6.031 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.002178/0.002178, allocations: 195.1 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.576/2.576, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 2.162/2.162, allocations: 119.3 MB / 411.2 MB, free: 9.504 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 65.84 kB / 0.5719 GB, free: 39.14 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2633, allocations: 80.7 MB / 0.6507 GB, free: 12.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40): time 0.005666/0.2691, allocations: 1.353 MB / 0.652 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.000551/0.2697, allocations: 43.86 kB / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2698, allocations: 0 / 0.6521 GB, free: 10.66 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.2701, allocations: 11.92 kB / 0.6521 GB, free: 10.64 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.2703, allocations: 19.84 kB / 0.6521 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.2708, allocations: 15.97 kB / 0.6521 GB, free: 10.61 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.2722, allocations: 0.663 MB / 0.6528 GB, free: 9.945 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2724, allocations: 4 kB / 0.6528 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009236/0.2733, allocations: 243.7 kB / 0.653 GB, free: 9.703 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.2747, allocations: 330 kB / 0.6533 GB, free: 9.379 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.2752, allocations: 36 kB / 0.6533 GB, free: 9.344 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.2755, allocations: 36 kB / 0.6534 GB, free: 9.309 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0006032/0.2761, allocations: 280 kB / 0.6536 GB, free: 9.035 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.2773, allocations: 278.9 kB / 0.6539 GB, free: 8.762 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.2785, allocations: 479.3 kB / 0.6544 GB, free: 8.293 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.2785, allocations: 3.984 kB / 0.6544 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of FrontEnd: time 6.032e-06/0.2785, allocations: 0 / 0.6544 GB, free: 8.289 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.147e-05/0.2786, allocations: 3.938 kB / 0.6544 GB, free: 8.285 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.005522/0.2841, allocations: 1.183 MB / 0.6555 GB, free: 7.047 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.2842, allocations: 11.97 kB / 0.6555 GB, free: 7.035 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002743/0.2845, allocations: 94.7 kB / 0.6556 GB, free: 6.934 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.2848, allocations: 56.47 kB / 0.6557 GB, free: 6.879 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000819/0.2856, allocations: 323.6 kB / 0.656 GB, free: 6.523 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.2857, allocations: 61.38 kB / 0.6561 GB, free: 6.465 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003218/0.2861, allocations: 116.1 kB / 0.6562 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.2881, allocations: 0.6509 MB / 0.6568 GB, free: 5.695 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.166e-05/0.2881, allocations: 3.938 kB / 0.6568 GB, free: 5.691 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.2883, allocations: 20 kB / 0.6568 GB, free: 5.672 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.2883, allocations: 12 kB / 0.6568 GB, free: 5.66 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.2895, allocations: 399.7 kB / 0.6572 GB, free: 5.27 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006489/0.296, allocations: 1.793 MB / 0.659 GB, free: 3.426 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01315/0.3092, allocations: 2.507 MB / 0.6614 GB, free: 0.9062 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.3105, allocations: 374.6 kB / 0.6618 GB, free: 0.5391 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.3106, allocations: 8.656 kB / 0.6618 GB, free: 0.5273 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/0.3107, allocations: 39.16 kB / 0.6618 GB, free: 492 kB / 0.4983 GB Notification: Performance of pre-optimization done (n=82): time 4.769e-06/0.3107, allocations: 4 kB / 0.6618 GB, free: 488 kB / 0.4983 GB Notification: Performance of matching and sorting (n=82): time 0.003595/0.3143, allocations: 1.109 MB / 0.6629 GB, free: 15.36 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.3144, allocations: 60.06 kB / 0.663 GB, free: 15.29 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.3148, allocations: 141.8 kB / 0.6631 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3149, allocations: 49.7 kB / 0.6631 GB, free: 15.08 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3151, allocations: 153.8 kB / 0.6633 GB, free: 14.93 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005506/0.3157, allocations: 382.4 kB / 0.6637 GB, free: 14.55 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/0.3163, allocations: 234.9 kB / 0.6639 GB, free: 14.32 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000261/0.3166, allocations: 366.8 kB / 0.6642 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.3179, allocations: 446.3 kB / 0.6647 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.3192, allocations: 471.5 kB / 0.6651 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002621/0.3218, allocations: 0.9804 MB / 0.6661 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.3219, allocations: 384 / 0.6661 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003342/0.3252, allocations: 1.207 MB / 0.6672 GB, free: 10.86 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.3253, allocations: 8 kB / 0.6672 GB, free: 10.85 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3253, allocations: 0 / 0.6672 GB, free: 10.85 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.884e-05/0.3253, allocations: 7.938 kB / 0.6673 GB, free: 10.84 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002952/0.3283, allocations: 447.5 kB / 0.6677 GB, free: 10.41 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.898e-05/0.3284, allocations: 7.984 kB / 0.6677 GB, free: 10.4 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009404/0.3293, allocations: 122.9 kB / 0.6678 GB, free: 10.28 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.3295, allocations: 32 kB / 0.6678 GB, free: 10.25 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.0006201/0.3301, allocations: 218.4 kB / 0.668 GB, free: 10.02 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.3304, allocations: 35.66 kB / 0.6681 GB, free: 9.988 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.3308, allocations: 91.39 kB / 0.6682 GB, free: 9.895 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.3308, allocations: 8 kB / 0.6682 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.3309, allocations: 4 kB / 0.6682 GB, free: 9.883 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.3309, allocations: 3.984 kB / 0.6682 GB, free: 9.879 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.3324, allocations: 0.6106 MB / 0.6688 GB, free: 9.215 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.3324, allocations: 3.938 kB / 0.6688 GB, free: 9.211 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003934/0.3364, allocations: 447.6 kB / 0.6692 GB, free: 8.773 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.3364, allocations: 4 kB / 0.6692 GB, free: 8.77 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.3366, allocations: 51.94 kB / 0.6693 GB, free: 8.719 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.267e-05/0.3367, allocations: 4 kB / 0.6693 GB, free: 8.715 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3367, allocations: 4 kB / 0.6693 GB, free: 8.711 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.3399, allocations: 1.269 MB / 0.6705 GB, free: 7.426 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.3401, allocations: 112.6 kB / 0.6706 GB, free: 7.297 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.3403, allocations: 43.95 kB / 0.6707 GB, free: 7.254 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008337/0.3412, allocations: 55.94 kB / 0.6707 GB, free: 7.199 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/0.3414, allocations: 44.58 kB / 0.6708 GB, free: 7.156 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/0.3415, allocations: 24 kB / 0.6708 GB, free: 7.133 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001007/0.3416, allocations: 95.27 kB / 0.6709 GB, free: 7.039 MB / 0.5139 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3416, allocations: 4 kB / 0.6709 GB, free: 7.035 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0009625/0.3426, allocations: 231.7 kB / 0.6711 GB, free: 6.809 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.003828/0.3464, allocations: 1.881 MB / 0.6729 GB, free: 4.902 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.002609/0.349, allocations: 0.9735 MB / 0.6739 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3491, allocations: 0 / 0.6739 GB, free: 3.93 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3501, allocations: 447.5 kB / 0.6743 GB, free: 3.492 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.3507, allocations: 32.25 kB / 0.6743 GB, free: 3.461 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/0.3735, allocations: 10.96 MB / 0.685 GB, free: 8.414 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008391/0.3744, allocations: 0.9113 MB / 0.6859 GB, free: 7.477 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001435/0.3759, allocations: 316.5 kB / 0.6862 GB, free: 7.164 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/0.3765, allocations: 195.4 kB / 0.6864 GB, free: 6.973 MB / 0.5295 GB Notification: Performance of SimCode: time 1.503e-06/0.3765, allocations: 0 / 0.6864 GB, free: 6.973 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06068/0.4372, allocations: 12.75 MB / 0.6989 GB, free: 10.42 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.28, allocations: 17.88 kB / 0.6989 GB, free: 10.41 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)