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.001365/0.001365, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.361/1.361, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 91.98 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9573/0.9573, allocations: 120.5 MB / 457.9 MB, free: 7.059 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.895e-05, allocations: 4 kB / 0.5368 GB, free: 11.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5912, allocations: 82.83 MB / 0.6177 GB, free: 9.297 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.7605, allocations: 125.4 MB / 0.7401 GB, free: 11.75 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.7608, allocations: 67.81 kB / 0.7402 GB, free: 11.69 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.7754, allocations: 4.347 MB / 0.7444 GB, free: 7.32 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7754, allocations: 3.938 kB / 0.7445 GB, free: 7.316 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.7754, allocations: 4 kB / 0.7445 GB, free: 7.312 MB / 0.5419 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.001224/0.7766, allocations: 0.6626 MB / 0.7451 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.7767, allocations: 12.03 kB / 0.7451 GB, free: 6.59 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.433e-05/0.7768, allocations: 62.53 kB / 0.7452 GB, free: 6.52 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.7769, allocations: 27.81 kB / 0.7452 GB, free: 6.492 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.7772, allocations: 246.7 kB / 0.7454 GB, free: 6.211 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.7773, allocations: 32.56 kB / 0.7455 GB, free: 6.18 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-05/0.7774, allocations: 59.8 kB / 0.7455 GB, free: 6.121 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.778, allocations: 336.7 kB / 0.7458 GB, free: 5.785 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.778, allocations: 0 / 0.7458 GB, free: 5.785 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.778, allocations: 11.95 kB / 0.7459 GB, free: 5.773 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.7781, allocations: 12 kB / 0.7459 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003522/0.7784, allocations: 198.2 kB / 0.7461 GB, free: 5.566 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.7805, allocations: 1.018 MB / 0.747 GB, free: 4.496 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.7841, allocations: 1.198 MB / 0.7482 GB, free: 3.289 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.7845, allocations: 192.8 kB / 0.7484 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.7845, allocations: 4 kB / 0.7484 GB, free: 3.094 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.7845, allocations: 35.25 kB / 0.7484 GB, free: 3.051 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.7845, allocations: 0 / 0.7484 GB, free: 3.051 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0007171/0.7853, allocations: 431.7 kB / 0.7489 GB, free: 2.625 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.7853, allocations: 55.41 kB / 0.7489 GB, free: 2.559 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7854, allocations: 129 kB / 0.749 GB, free: 2.422 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.7855, allocations: 41.7 kB / 0.7491 GB, free: 2.375 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.7855, allocations: 117.1 kB / 0.7492 GB, free: 2.254 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7857, allocations: 197.2 kB / 0.7494 GB, free: 2.059 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.7857, allocations: 16 kB / 0.7494 GB, free: 2.043 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7859, allocations: 342.8 kB / 0.7497 GB, free: 1.699 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.7862, allocations: 213.5 kB / 0.7499 GB, free: 1.492 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.7865, allocations: 222.9 kB / 0.7501 GB, free: 1.273 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.7869, allocations: 262 kB / 0.7504 GB, free: 1.02 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.7869, allocations: 0 / 0.7504 GB, free: 1.02 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008654/0.7878, allocations: 0.6015 MB / 0.751 GB, free: 420 kB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.7878, allocations: 11.98 kB / 0.751 GB, free: 408 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7878, allocations: 7.938 kB / 0.751 GB, free: 400 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7878, allocations: 4 kB / 0.751 GB, free: 396 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.7888, allocations: 219.8 kB / 0.7512 GB, free: 176 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.7888, allocations: 7.953 kB / 0.7512 GB, free: 168 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.7891, allocations: 67.41 kB / 0.7513 GB, free: 100 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.7892, allocations: 16 kB / 0.7513 GB, free: 84 kB / 0.5419 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 () * 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.6399/1.429, allocations: 126.7 kB / 0.7514 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.429, allocations: 19.22 kB / 0.7514 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/1.43, allocations: 49.72 kB / 0.7515 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.43, allocations: 4.438 kB / 0.7515 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/1.43, allocations: 0.5 kB / 0.7515 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.43, allocations: 2.641 kB / 0.7515 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006705/1.43, allocations: 385.1 kB / 0.7518 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.43, allocations: 3.969 kB / 0.7518 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.432, allocations: 220.9 kB / 0.7521 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/1.432, allocations: 3.312 kB / 0.7521 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-05/1.432, allocations: 28.7 kB / 0.7521 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/1.432, allocations: 2.094 kB / 0.7521 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.432, allocations: 3.984 kB / 0.7521 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/1.433, allocations: 0.6946 MB / 0.7528 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/1.433, allocations: 96.31 kB / 0.7529 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/1.433, allocations: 24.17 kB / 0.7529 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/1.433, allocations: 28.92 kB / 0.7529 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.434, allocations: 26.48 kB / 0.7529 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/1.434, allocations: 13.22 kB / 0.753 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 5.298e-05/1.434, allocations: 99.62 kB / 0.753 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.5e-07/1.434, allocations: 0.8438 kB / 0.753 GB, free: 131.8 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004516/1.434, allocations: 119.3 kB / 0.7532 GB, free: 131.8 MB / 0.5421 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 () * 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.001362/1.436, allocations: 1.261 MB / 0.7544 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0008589/1.436, allocations: 481.1 kB / 0.7549 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.436, allocations: 4.562 kB / 0.7549 GB, free: 131 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0004345/1.437, allocations: 222.9 kB / 0.7551 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/1.437, allocations: 17.59 kB / 0.7551 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/1.441, allocations: 3.12 MB / 0.7581 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/1.441, allocations: 0.8071 MB / 0.7589 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004387/1.442, allocations: 159.6 kB / 0.7591 GB, free: 128.1 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.442, allocations: 94.59 kB / 0.7592 GB, free: 128 MB / 0.5421 GB Notification: Performance of SimCode: time 8.71e-07/1.442, allocations: 0 / 0.7592 GB, free: 128 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/1.463, allocations: 6.245 MB / 0.7653 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/1.463, allocations: 210.5 kB / 0.7655 GB, free: 126.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/3.55, allocations: 0 / 0.7655 GB, free: 126.6 MB / 0.5421 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)