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.001154/0.001154, allocations: 92.53 kB / 16.3 MB, free: 5.543 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.001209/0.001209, allocations: 187.4 kB / 17.2 MB, free: 5.477 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.324/1.324, allocations: 223.2 MB / 241.1 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.03/1.03, allocations: 120.5 MB / 412.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 8 kB / 0.4956 GB, free: 10.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.6144, allocations: 82.84 MB / 0.5765 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001421/0.6159, allocations: 1.043 MB / 0.5775 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.6161, allocations: 61.42 kB / 0.5775 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.6162, allocations: 1.375 kB / 0.5775 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.6164, allocations: 7.922 kB / 0.5775 GB, free: 41.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.6164, allocations: 13.34 kB / 0.5776 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.6166, allocations: 20.23 kB / 0.5776 GB, free: 41.5 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.6169, allocations: 232.6 kB / 0.5778 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.617, allocations: 4.125 kB / 0.5778 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.6171, allocations: 124.7 kB / 0.5779 GB, free: 41.3 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.6174, allocations: 161.7 kB / 0.5781 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.514e-05/0.6174, allocations: 19.25 kB / 0.5781 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 4.588e-05/0.6175, allocations: 21.81 kB / 0.5781 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.6176, allocations: 129.4 kB / 0.5782 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 9.757e-05/0.6178, allocations: 71.83 kB / 0.5783 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.6179, allocations: 172.8 kB / 0.5785 GB, free: 40.99 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6179, allocations: 0 / 0.5785 GB, free: 40.99 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.046e-06/0.618, allocations: 0 / 0.5785 GB, free: 40.99 MB / 462.3 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.618, allocations: 0 / 0.5785 GB, free: 40.99 MB / 462.3 MB 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.001552/0.6195, allocations: 0.6819 MB / 0.5791 GB, free: 40.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 7.332e-05/0.6196, allocations: 9.25 kB / 0.5791 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.708e-05/0.6197, allocations: 63.69 kB / 0.5792 GB, free: 40.39 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.6198, allocations: 30.2 kB / 0.5792 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.6202, allocations: 249.7 kB / 0.5795 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.6202, allocations: 27.31 kB / 0.5795 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.6204, allocations: 52.19 kB / 0.5795 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.621, allocations: 349.3 kB / 0.5799 GB, free: 39.9 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.621, allocations: 8.859 kB / 0.5799 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.483e-05/0.6211, allocations: 9.812 kB / 0.5799 GB, free: 39.89 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.6211, allocations: 10.42 kB / 0.5799 GB, free: 39.88 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.6215, allocations: 205.4 kB / 0.5801 GB, free: 39.8 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.6237, allocations: 1.022 MB / 0.5811 GB, free: 39.14 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003929/0.6277, allocations: 1.211 MB / 0.5823 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.6277, allocations: 3.406 kB / 0.5823 GB, free: 38.65 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.6278, allocations: 40.72 kB / 0.5823 GB, free: 38.61 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.6278, allocations: 1.125 kB / 0.5823 GB, free: 38.61 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.001181/0.629, allocations: 0.5724 MB / 0.5829 GB, free: 38.34 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.629, allocations: 59.36 kB / 0.5829 GB, free: 38.27 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.6291, allocations: 131.9 kB / 0.5831 GB, free: 38.15 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.6292, allocations: 41.39 kB / 0.5831 GB, free: 38.11 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.6292, allocations: 120.8 kB / 0.5832 GB, free: 37.99 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.6294, allocations: 191.4 kB / 0.5834 GB, free: 37.82 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.6294, allocations: 14.69 kB / 0.5834 GB, free: 37.81 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6295, allocations: 339.4 kB / 0.5837 GB, free: 37.48 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.6299, allocations: 219.8 kB / 0.584 GB, free: 37.38 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003771/0.6303, allocations: 232 kB / 0.5842 GB, free: 37.28 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004473/0.6308, allocations: 260.1 kB / 0.5844 GB, free: 37.17 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6308, allocations: 0 / 0.5844 GB, free: 37.17 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001034/0.6318, allocations: 0.62 MB / 0.585 GB, free: 36.88 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6318, allocations: 5.031 kB / 0.585 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6319, allocations: 0 / 0.585 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.6319, allocations: 7.766 kB / 0.585 GB, free: 36.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009219/0.6328, allocations: 228.7 kB / 0.5853 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/0.6328, allocations: 3.781 kB / 0.5853 GB, free: 36.82 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.6331, allocations: 62.62 kB / 0.5853 GB, free: 36.77 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.6332, allocations: 24.59 kB / 0.5853 GB, free: 36.76 MB / 462.3 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.6333, allocations: 161.9 kB / 0.5855 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.6334, allocations: 19.16 kB / 0.5855 GB, free: 36.61 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.6335, allocations: 47.25 kB / 0.5856 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.6335, allocations: 4.156 kB / 0.5856 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.6335, allocations: 1.281 kB / 0.5856 GB, free: 36.57 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6336, allocations: 7.984 kB / 0.5856 GB, free: 36.56 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.634, allocations: 392.9 kB / 0.5859 GB, free: 36.22 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6341, allocations: 7.922 kB / 0.586 GB, free: 36.21 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.6352, allocations: 223.8 kB / 0.5862 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6352, allocations: 0 / 0.5862 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.6353, allocations: 27.97 kB / 0.5862 GB, free: 35.97 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.6353, allocations: 4 kB / 0.5862 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6353, allocations: 0 / 0.5862 GB, free: 35.96 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.6361, allocations: 0.7025 MB / 0.5869 GB, free: 35.25 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.6362, allocations: 100.9 kB / 0.587 GB, free: 35.13 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.6363, allocations: 23.97 kB / 0.587 GB, free: 35.11 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.6365, allocations: 19.97 kB / 0.587 GB, free: 35.09 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.411e-05/0.6366, allocations: 31.75 kB / 0.5871 GB, free: 35.05 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.6366, allocations: 15.98 kB / 0.5871 GB, free: 35.04 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.6367, allocations: 95.27 kB / 0.5872 GB, free: 34.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6367, allocations: 0 / 0.5872 GB, free: 34.95 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003738/0.6371, allocations: 119.8 kB / 0.5873 GB, free: 34.83 MB / 462.3 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.6381, allocations: 1.272 MB / 0.5885 GB, free: 33.53 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006631/0.6388, allocations: 495.3 kB / 0.589 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6388, allocations: 0 / 0.589 GB, free: 33.04 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.6391, allocations: 227.9 kB / 0.5892 GB, free: 32.82 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.6393, allocations: 15.98 kB / 0.5892 GB, free: 32.8 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004855/0.6442, allocations: 4.979 MB / 0.5941 GB, free: 27.77 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.6444, allocations: 0.8065 MB / 0.5949 GB, free: 26.94 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003676/0.6448, allocations: 162.8 kB / 0.595 GB, free: 26.78 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.645, allocations: 95.41 kB / 0.5951 GB, free: 26.68 MB / 462.3 MB Notification: Performance of SimCode: time 6.51e-07/0.645, allocations: 0 / 0.5951 GB, free: 26.68 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.6625, allocations: 6.343 MB / 0.6013 GB, free: 20.56 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.6628, allocations: 233.9 kB / 0.6015 GB, free: 20.32 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.573, allocations: 0 / 0.6015 GB, free: 20.32 MB / 462.3 MB (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/linux/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) Environment - environmentSimulation: