Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",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.001841/0.001841, allocations: 88.16 kB / 16.31 MB, free: 5.629 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.002142/0.002143, allocations: 181.3 kB / 17.21 MB, free: 5.547 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.769/1.769, allocations: 223.2 MB / 241.2 MB, free: 332 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.673/1.673, allocations: 120.5 MB / 412.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.000365, allocations: 8 kB / 0.4957 GB, free: 10.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9667/0.9671, allocations: 82.84 MB / 0.5766 GB, free: 42.28 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10): time 0.002486/0.9697, allocations: 1.041 MB / 0.5776 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00042/0.9701, allocations: 53.78 kB / 0.5776 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.9703, allocations: 0 / 0.5776 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.9704, allocations: 2.094 kB / 0.5776 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.9706, allocations: 19.14 kB / 0.5777 GB, free: 41.38 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.9708, allocations: 26.27 kB / 0.5777 GB, free: 41.36 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.9712, allocations: 178.2 kB / 0.5778 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.9713, allocations: 9.141 kB / 0.5779 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.9716, allocations: 69.14 kB / 0.5779 GB, free: 41.23 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.9719, allocations: 105.2 kB / 0.578 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.972, allocations: 13.56 kB / 0.578 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 6.012e-05/0.9721, allocations: 9.625 kB / 0.578 GB, free: 41.17 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.9722, allocations: 76.7 kB / 0.5781 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.9724, allocations: 50.14 kB / 0.5782 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.9726, allocations: 86.42 kB / 0.5782 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.9726, allocations: 0 / 0.5782 GB, free: 41.04 MB / 462.3 MB Notification: Performance of FrontEnd: time 3.737e-06/0.9726, allocations: 5.312 kB / 0.5783 GB, free: 41.04 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.9726, allocations: 0 / 0.5783 GB, free: 41.04 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001356/0.974, allocations: 0.4934 MB / 0.5787 GB, free: 40.59 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 8.199e-05/0.9741, allocations: 13.62 kB / 0.5787 GB, free: 40.59 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.9742, allocations: 52 kB / 0.5788 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.9743, allocations: 17.44 kB / 0.5788 GB, free: 40.52 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.9747, allocations: 209 kB / 0.579 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.9747, allocations: 14.88 kB / 0.579 GB, free: 40.3 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.9748, allocations: 28.41 kB / 0.5791 GB, free: 40.29 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004101/0.9752, allocations: 189 kB / 0.5792 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.9753, allocations: 0 / 0.5792 GB, free: 40.17 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.9753, allocations: 5.844 kB / 0.5792 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.9753, allocations: 6.703 kB / 0.5792 GB, free: 40.16 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.9756, allocations: 116.8 kB / 0.5794 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.9768, allocations: 0.6154 MB / 0.58 GB, free: 39.64 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.9788, allocations: 0.5792 MB / 0.5805 GB, free: 39.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.979, allocations: 94.44 kB / 0.5806 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.9791, allocations: 2.719 kB / 0.5806 GB, free: 39.36 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.9791, allocations: 36 kB / 0.5807 GB, free: 39.31 MB / 462.3 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.9791, allocations: 4 kB / 0.5807 GB, free: 39.31 MB / 462.3 MB Notification: Performance of matching and sorting (n=22): time 0.0007505/0.9799, allocations: 310.7 kB / 0.581 GB, free: 39.16 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.9799, allocations: 53.94 kB / 0.581 GB, free: 39.1 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.98, allocations: 124.9 kB / 0.5811 GB, free: 38.98 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.9801, allocations: 36.2 kB / 0.5812 GB, free: 38.94 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/0.9801, allocations: 100.4 kB / 0.5813 GB, free: 38.84 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/0.9802, allocations: 99.16 kB / 0.5813 GB, free: 38.75 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.9803, allocations: 5.281 kB / 0.5814 GB, free: 38.75 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.9804, allocations: 339.8 kB / 0.5817 GB, free: 38.41 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.9806, allocations: 110.2 kB / 0.5818 GB, free: 38.37 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.9808, allocations: 111 kB / 0.5819 GB, free: 38.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.9811, allocations: 137.9 kB / 0.582 GB, free: 38.26 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9811, allocations: 0 / 0.582 GB, free: 38.26 MB / 462.3 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006709/0.9818, allocations: 332.1 kB / 0.5823 GB, free: 38.1 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.9819, allocations: 5.062 kB / 0.5823 GB, free: 38.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.9819, allocations: 5.266 kB / 0.5823 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.9819, allocations: 1.25 kB / 0.5823 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.9825, allocations: 107.9 kB / 0.5824 GB, free: 38.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.9825, allocations: 13.77 kB / 0.5825 GB, free: 38.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.9827, allocations: 35.95 kB / 0.5825 GB, free: 38.04 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.9827, allocations: 6.469 kB / 0.5825 GB, free: 38.04 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 (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 prepare postOptimizeDAE: time 0.0001523/0.9828, allocations: 144.8 kB / 0.5826 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.9829, allocations: 10.38 kB / 0.5827 GB, free: 37.89 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.983, allocations: 25.75 kB / 0.5827 GB, free: 37.87 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.983, allocations: 2.781 kB / 0.5827 GB, free: 37.87 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.9831, allocations: 4.875 kB / 0.5827 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.9831, allocations: 7.984 kB / 0.5827 GB, free: 37.86 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.9836, allocations: 274.6 kB / 0.583 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9836, allocations: 0 / 0.583 GB, free: 37.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/0.9843, allocations: 109 kB / 0.5831 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.9843, allocations: 0.9375 kB / 0.5831 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.9844, allocations: 10.45 kB / 0.5831 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.9844, allocations: 1.812 kB / 0.5831 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.9844, allocations: 0 / 0.5831 GB, free: 37.57 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.9852, allocations: 447 kB / 0.5835 GB, free: 37.3 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.9853, allocations: 88.36 kB / 0.5836 GB, free: 37.2 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.9854, allocations: 14.58 kB / 0.5836 GB, free: 37.19 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.9855, allocations: 8.25 kB / 0.5836 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.492e-05/0.9856, allocations: 14.06 kB / 0.5836 GB, free: 37.18 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.9856, allocations: 4.844 kB / 0.5836 GB, free: 37.18 MB / 462.3 MB Notification: Performance of sorting global known variables: time 6.708e-05/0.9857, allocations: 97.05 kB / 0.5837 GB, free: 37.09 MB / 462.3 MB Notification: Performance of sort global known variables: time 9e-08/0.9857, allocations: 0 / 0.5837 GB, free: 37.09 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003557/0.9861, allocations: 57.12 kB / 0.5838 GB, free: 37.08 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.001118/0.9872, allocations: 0.9725 MB / 0.5847 GB, free: 36.28 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.000637/0.9879, allocations: 252.5 kB / 0.585 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9879, allocations: 1.094 kB / 0.585 GB, free: 36.18 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.9881, allocations: 112.7 kB / 0.5851 GB, free: 36.14 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.9885, allocations: 23.25 kB / 0.5851 GB, free: 36.12 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.993, allocations: 2.666 MB / 0.5877 GB, free: 34.14 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.9934, allocations: 0.7364 MB / 0.5884 GB, free: 33.42 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.9936, allocations: 72.41 kB / 0.5885 GB, free: 33.39 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.9937, allocations: 54.77 kB / 0.5885 GB, free: 33.35 MB / 462.3 MB Notification: Performance of SimCode: time 2.054e-06/0.9937, allocations: 4 kB / 0.5885 GB, free: 33.34 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/1.013, allocations: 3.773 MB / 0.5922 GB, free: 29.87 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002795/1.014, allocations: 239.2 kB / 0.5924 GB, free: 29.63 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.37, allocations: 4.062 kB / 0.5925 GB, free: 29.63 MB / 462.3 MB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1) Environment - environmentSimulation: