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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 180.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009151, allocations: 86.03 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7998/0.7998, allocations: 120.5 MB / 463 MB, free: 8.734 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 8 kB / 0.5447 GB, free: 41.09 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.158, allocations: 82.86 MB / 0.6256 GB, free: 7.809 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7324/0.8905, allocations: 125.5 MB / 0.7482 GB, free: 8.625 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.8908, allocations: 58.59 kB / 0.7482 GB, free: 8.594 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.9058, allocations: 4.345 MB / 0.7525 GB, free: 4.676 MB / 0.5107 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9059, allocations: 0 / 0.7525 GB, free: 4.676 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.9059, allocations: 4 kB / 0.7525 GB, free: 4.672 MB / 0.5107 GB 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.001425/0.9073, allocations: 0.6793 MB / 0.7531 GB, free: 3.961 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9074, allocations: 8.031 kB / 0.7531 GB, free: 3.953 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.9075, allocations: 61.72 kB / 0.7532 GB, free: 3.898 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.9076, allocations: 31.72 kB / 0.7532 GB, free: 3.867 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.908, allocations: 246.7 kB / 0.7535 GB, free: 3.586 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.908, allocations: 28.19 kB / 0.7535 GB, free: 3.57 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.9081, allocations: 58.7 kB / 0.7535 GB, free: 3.531 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.9087, allocations: 337.9 kB / 0.7539 GB, free: 3.266 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.9087, allocations: 8 kB / 0.7539 GB, free: 3.258 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.9087, allocations: 15.39 kB / 0.7539 GB, free: 3.25 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.9088, allocations: 8 kB / 0.7539 GB, free: 3.242 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.9091, allocations: 203.8 kB / 0.7541 GB, free: 3.09 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.9114, allocations: 1.019 MB / 0.7551 GB, free: 2.125 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.9154, allocations: 1.217 MB / 0.7563 GB, free: 1.09 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.9154, allocations: 11.94 kB / 0.7563 GB, free: 1.078 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.9155, allocations: 38.12 kB / 0.7563 GB, free: 1.035 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.9155, allocations: 0 / 0.7563 GB, free: 1.035 MB / 0.5107 GB Notification: Performance of matching and sorting (n=42): time 0.0009855/0.9165, allocations: 0.5723 MB / 0.7569 GB, free: 0.5898 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9165, allocations: 59.41 kB / 0.7569 GB, free: 0.5195 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.9166, allocations: 121.5 kB / 0.757 GB, free: 412 kB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.9167, allocations: 41.83 kB / 0.7571 GB, free: 376 kB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.9167, allocations: 117 kB / 0.7572 GB, free: 264 kB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.9169, allocations: 200.3 kB / 0.7574 GB, free: 92 kB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.9169, allocations: 11.44 kB / 0.7574 GB, free: 88 kB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.917, allocations: 346.3 kB / 0.7577 GB, free: 15.75 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.9174, allocations: 219.5 kB / 0.7579 GB, free: 15.59 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.9177, allocations: 226.9 kB / 0.7582 GB, free: 15.42 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.918, allocations: 259.9 kB / 0.7584 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.9181, allocations: 0 / 0.7584 GB, free: 15.25 MB / 0.5263 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008152/0.9189, allocations: 0.6195 MB / 0.759 GB, free: 14.77 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.9189, allocations: 4 kB / 0.759 GB, free: 14.77 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9189, allocations: 4 kB / 0.759 GB, free: 14.76 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9189, allocations: 4 kB / 0.759 GB, free: 14.76 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/0.9198, allocations: 223.7 kB / 0.7592 GB, free: 14.54 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.9198, allocations: 7.953 kB / 0.7592 GB, free: 14.54 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.9201, allocations: 63.19 kB / 0.7593 GB, free: 14.48 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.9201, allocations: 15.94 kB / 0.7593 GB, free: 14.47 MB / 0.5263 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 (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.0001534/0.9203, allocations: 157.2 kB / 0.7595 GB, free: 14.32 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.9204, allocations: 19.81 kB / 0.7595 GB, free: 14.3 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/0.9205, allocations: 48.34 kB / 0.7595 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.9205, allocations: 4 kB / 0.7595 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.9205, allocations: 0 / 0.7595 GB, free: 14.29 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.9205, allocations: 15.88 kB / 0.7596 GB, free: 14.27 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.921, allocations: 383.5 kB / 0.7599 GB, free: 13.9 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.921, allocations: 4 kB / 0.7599 GB, free: 13.89 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.9223, allocations: 227.6 kB / 0.7601 GB, free: 13.68 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.9223, allocations: 0 / 0.7601 GB, free: 13.68 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.9223, allocations: 27.84 kB / 0.7602 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.9223, allocations: 1.188 kB / 0.7602 GB, free: 13.66 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9223, allocations: 3.938 kB / 0.7602 GB, free: 13.65 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008767/0.9232, allocations: 0.7004 MB / 0.7609 GB, free: 13.08 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.9233, allocations: 92.86 kB / 0.7609 GB, free: 12.97 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.254e-05/0.9234, allocations: 31.53 kB / 0.761 GB, free: 12.95 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.9237, allocations: 19.91 kB / 0.761 GB, free: 12.93 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.9237, allocations: 31.62 kB / 0.761 GB, free: 12.91 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.9238, allocations: 15.86 kB / 0.761 GB, free: 12.89 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.9238, allocations: 95.2 kB / 0.7611 GB, free: 12.8 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9238, allocations: 4.219 kB / 0.7611 GB, free: 12.8 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0003476/0.9242, allocations: 119.3 kB / 0.7612 GB, free: 12.7 MB / 0.5263 GB 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.001169/0.9254, allocations: 1.274 MB / 0.7625 GB, free: 11.55 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0006761/0.926, allocations: 494.8 kB / 0.763 GB, free: 11.17 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9261, allocations: 0 / 0.763 GB, free: 11.17 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 0.0002835/0.9263, allocations: 229.8 kB / 0.7632 GB, free: 11 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.9265, allocations: 7.875 kB / 0.7632 GB, free: 11 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.9318, allocations: 4.998 MB / 0.7681 GB, free: 6.367 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.9321, allocations: 0.8076 MB / 0.7689 GB, free: 5.539 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.000376/0.9325, allocations: 162.8 kB / 0.769 GB, free: 5.383 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.9327, allocations: 92.84 kB / 0.7691 GB, free: 5.348 MB / 0.5263 GB Notification: Performance of SimCode: time 3.91e-07/0.9327, allocations: 0 / 0.7691 GB, free: 5.348 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.95, allocations: 6.355 MB / 0.7753 GB, free: 15.21 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/0.9502, allocations: 238.4 kB / 0.7755 GB, free: 14.97 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.006, allocations: 0 / 0.7755 GB, free: 14.97 MB / 0.5419 GB (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)