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.002226/0.002226, allocations: 88.16 kB / 16.31 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.002534/0.002534, allocations: 181.5 kB / 17.21 MB, free: 5.461 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.687/1.687, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.42/1.42, allocations: 120.5 MB / 412.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003949, allocations: 16 kB / 0.4957 GB, free: 10.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8691/0.8696, allocations: 82.83 MB / 0.5766 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_20): time 0.001513/0.8712, allocations: 1.05 MB / 0.5776 GB, free: 40.95 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002435/0.8714, allocations: 52.66 kB / 0.5776 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.8715, allocations: 0 / 0.5776 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.8716, allocations: 12.39 kB / 0.5777 GB, free: 40.91 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.8717, allocations: 16.77 kB / 0.5777 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.8719, allocations: 20.94 kB / 0.5777 GB, free: 40.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.8722, allocations: 322.9 kB / 0.578 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.376e-05/0.8723, allocations: 8.094 kB / 0.578 GB, free: 40.69 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.8725, allocations: 126.2 kB / 0.5781 GB, free: 40.64 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.8728, allocations: 183.5 kB / 0.5783 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.8728, allocations: 22.06 kB / 0.5783 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.8729, allocations: 18.28 kB / 0.5783 GB, free: 40.54 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.8731, allocations: 145.4 kB / 0.5785 GB, free: 40.45 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.8731, allocations: 70.7 kB / 0.5785 GB, free: 40.4 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.8733, allocations: 170.8 kB / 0.5787 GB, free: 40.32 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.8733, allocations: 0 / 0.5787 GB, free: 40.32 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8734, allocations: 0 / 0.5787 GB, free: 40.32 MB / 462.3 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.8734, allocations: 5.25 kB / 0.5787 GB, free: 40.31 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.001463/0.8748, allocations: 0.6847 MB / 0.5794 GB, free: 39.77 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.8749, allocations: 9.625 kB / 0.5794 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.103e-05/0.875, allocations: 64.12 kB / 0.5794 GB, free: 39.71 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.779e-05/0.8751, allocations: 27.06 kB / 0.5795 GB, free: 39.7 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.8754, allocations: 249.4 kB / 0.5797 GB, free: 39.46 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.8754, allocations: 27.69 kB / 0.5797 GB, free: 39.45 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.8755, allocations: 55.53 kB / 0.5798 GB, free: 39.42 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.8762, allocations: 342.4 kB / 0.5801 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.8762, allocations: 0 / 0.5801 GB, free: 39.22 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.8762, allocations: 14.69 kB / 0.5801 GB, free: 39.21 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.8763, allocations: 13.45 kB / 0.5801 GB, free: 39.2 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004246/0.8767, allocations: 204.3 kB / 0.5803 GB, free: 39.12 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.8789, allocations: 1.025 MB / 0.5813 GB, free: 38.46 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003635/0.8825, allocations: 1.21 MB / 0.5825 GB, free: 37.97 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.8829, allocations: 189.6 kB / 0.5827 GB, free: 37.88 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.8829, allocations: 7.781 kB / 0.5827 GB, free: 37.88 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.8829, allocations: 37.72 kB / 0.5827 GB, free: 37.83 MB / 462.3 MB Notification: Performance of pre-optimization done (n=42): time 2.715e-06/0.883, allocations: 0 / 0.5827 GB, free: 37.83 MB / 462.3 MB Notification: Performance of matching and sorting (n=42): time 0.00121/0.8842, allocations: 0.5797 MB / 0.5833 GB, free: 37.56 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.8842, allocations: 56.03 kB / 0.5834 GB, free: 37.5 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.8843, allocations: 127.8 kB / 0.5835 GB, free: 37.38 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.8844, allocations: 36.45 kB / 0.5835 GB, free: 37.34 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.8845, allocations: 125.4 kB / 0.5836 GB, free: 37.21 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.8846, allocations: 191.5 kB / 0.5838 GB, free: 37.05 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.8847, allocations: 18.72 kB / 0.5838 GB, free: 37.03 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8848, allocations: 340 kB / 0.5842 GB, free: 36.7 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.8852, allocations: 219.6 kB / 0.5844 GB, free: 36.6 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.8856, allocations: 230.2 kB / 0.5846 GB, free: 36.5 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004503/0.886, allocations: 268.4 kB / 0.5849 GB, free: 36.39 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.886, allocations: 0 / 0.5849 GB, free: 36.39 MB / 462.3 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001049/0.8871, allocations: 0.6163 MB / 0.5855 GB, free: 36.1 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.8871, allocations: 9.719 kB / 0.5855 GB, free: 36.1 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8871, allocations: 0 / 0.5855 GB, free: 36.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.8872, allocations: 2.875 kB / 0.5855 GB, free: 36.1 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.8881, allocations: 224.7 kB / 0.5857 GB, free: 36.05 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.8881, allocations: 7.141 kB / 0.5857 GB, free: 36.04 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.8884, allocations: 59.53 kB / 0.5857 GB, free: 36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.8884, allocations: 16.34 kB / 0.5858 GB, free: 36 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.0001671/0.8886, allocations: 157.8 kB / 0.5859 GB, free: 35.85 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.19e-05/0.8887, allocations: 23.03 kB / 0.5859 GB, free: 35.84 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.8888, allocations: 47 kB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.8888, allocations: 4.406 kB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.8888, allocations: 8.922 kB / 0.586 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.8889, allocations: 3.953 kB / 0.586 GB, free: 35.79 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.8894, allocations: 399.5 kB / 0.5864 GB, free: 35.46 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8894, allocations: 4 kB / 0.5864 GB, free: 35.45 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.8906, allocations: 223.3 kB / 0.5866 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8906, allocations: 1.25 kB / 0.5866 GB, free: 35.41 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.8906, allocations: 28.59 kB / 0.5866 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8906, allocations: 2.531 kB / 0.5866 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8906, allocations: 0 / 0.5866 GB, free: 35.39 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8917, allocations: 0.7048 MB / 0.5873 GB, free: 34.91 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.8917, allocations: 100.8 kB / 0.5874 GB, free: 34.79 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.8918, allocations: 27.98 kB / 0.5874 GB, free: 34.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.892, allocations: 19.97 kB / 0.5875 GB, free: 34.75 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.8921, allocations: 27.95 kB / 0.5875 GB, free: 34.72 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.8921, allocations: 8 kB / 0.5875 GB, free: 34.71 MB / 462.3 MB Notification: Performance of sorting global known variables: time 5.018e-05/0.8922, allocations: 107.2 kB / 0.5876 GB, free: 34.61 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8922, allocations: 0 / 0.5876 GB, free: 34.61 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000354/0.8926, allocations: 115.8 kB / 0.5877 GB, free: 34.49 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.001038/0.8936, allocations: 1.276 MB / 0.5889 GB, free: 33.19 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0006414/0.8943, allocations: 495.3 kB / 0.5894 GB, free: 32.7 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8943, allocations: 4 kB / 0.5894 GB, free: 32.7 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.8945, allocations: 219.9 kB / 0.5896 GB, free: 32.48 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.8949, allocations: 19.81 kB / 0.5897 GB, free: 32.47 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.8999, allocations: 4.99 MB / 0.5945 GB, free: 27.42 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.9002, allocations: 0.8026 MB / 0.5953 GB, free: 26.59 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.9006, allocations: 158.8 kB / 0.5955 GB, free: 26.44 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.9008, allocations: 99.28 kB / 0.5956 GB, free: 26.34 MB / 462.3 MB Notification: Performance of SimCode: time 9.42e-07/0.9008, allocations: 0 / 0.5956 GB, free: 26.34 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.9187, allocations: 6.377 MB / 0.6018 GB, free: 20.2 MB / 462.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.919, allocations: 239.2 kB / 0.602 GB, free: 19.96 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.294, allocations: 0 / 0.602 GB, free: 19.96 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: