Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.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_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40",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.001196/0.001196, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 230.3 MB, free: 7.512 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.0011/0.0011, allocations: 92.58 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.252/1.252, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.746e-05, allocations: 4 kB / 0.5296 GB, free: 440 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8564/0.8565, allocations: 82.84 MB / 0.6105 GB, free: 12.95 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/1.072, allocations: 124.7 MB / 0.7324 GB, free: 60 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.072, allocations: 63.83 kB / 0.7324 GB, free: 0 / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.03059/1.103, allocations: 7.857 MB / 0.7401 GB, free: 8.113 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.904e-06/1.103, allocations: 0 / 0.7401 GB, free: 8.113 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 3.428e-05/1.103, allocations: 8 kB / 0.7401 GB, free: 8.105 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003075/1.106, allocations: 1.003 MB / 0.7411 GB, free: 7.055 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 8.391e-05/1.106, allocations: 12.02 kB / 0.7411 GB, free: 7.043 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002648/1.107, allocations: 59.53 kB / 0.7411 GB, free: 6.984 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/1.107, allocations: 322.3 kB / 0.7414 GB, free: 6.629 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/1.107, allocations: 20 kB / 0.7415 GB, free: 6.609 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/1.108, allocations: 83.72 kB / 0.7415 GB, free: 6.527 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006888/1.108, allocations: 358.5 kB / 0.7419 GB, free: 6.18 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009976/1.109, allocations: 0.5777 MB / 0.7425 GB, free: 5.594 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/1.109, allocations: 0 / 0.7425 GB, free: 5.594 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.99e-05/1.109, allocations: 7.891 kB / 0.7425 GB, free: 5.586 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/1.109, allocations: 12 kB / 0.7425 GB, free: 5.574 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/1.114, allocations: 1.726 MB / 0.7442 GB, free: 3.805 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/1.122, allocations: 2.459 MB / 0.7466 GB, free: 1.332 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006438/1.122, allocations: 335.1 kB / 0.7469 GB, free: 1.004 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/1.122, allocations: 8.781 kB / 0.7469 GB, free: 0.9961 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/1.122, allocations: 39.34 kB / 0.7469 GB, free: 0.9453 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=82): time 5.3e-06/1.122, allocations: 0 / 0.7469 GB, free: 0.9453 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82): time 0.001554/1.124, allocations: 0.7601 MB / 0.7477 GB, free: 188 kB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/1.124, allocations: 60.19 kB / 0.7477 GB, free: 116 kB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9685/2.093, allocations: 130.6 kB / 0.7478 GB, free: 134.4 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003233/2.093, allocations: 31.44 kB / 0.7479 GB, free: 134.4 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/2.093, allocations: 142.9 kB / 0.748 GB, free: 134.3 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/2.094, allocations: 377.3 kB / 0.7484 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/2.094, allocations: 0 / 0.7484 GB, free: 134.1 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0004/2.095, allocations: 368.8 kB / 0.7487 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/2.096, allocations: 410.2 kB / 0.7491 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/2.097, allocations: 412.4 kB / 0.7495 GB, free: 133.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/2.098, allocations: 487.9 kB / 0.75 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/2.098, allocations: 0.9375 kB / 0.75 GB, free: 133.7 MB / 0.5421 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.0027/2.101, allocations: 1.081 MB / 0.751 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/2.101, allocations: 5.031 kB / 0.751 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/2.101, allocations: 0.5625 kB / 0.751 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.076e-05/2.101, allocations: 6.109 kB / 0.751 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/2.103, allocations: 449.8 kB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.529e-05/2.103, allocations: 6.5 kB / 0.7515 GB, free: 133.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/2.104, allocations: 97.58 kB / 0.7516 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/2.104, allocations: 34.16 kB / 0.7516 GB, free: 133.3 MB / 0.5421 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 (162): * Single equations (assignments): 162 * 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.0002679/2.104, allocations: 121.7 kB / 0.7517 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001821/2.106, allocations: 0.7469 MB / 0.7525 GB, free: 133 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/2.106, allocations: 34.95 kB / 0.7525 GB, free: 133 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/2.107, allocations: 86.81 kB / 0.7526 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/2.107, allocations: 12.88 kB / 0.7526 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/2.107, allocations: 0 / 0.7526 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/2.107, allocations: 4.875 kB / 0.7526 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/2.108, allocations: 0.5198 MB / 0.7531 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/2.108, allocations: 3.938 kB / 0.7531 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/2.111, allocations: 448.7 kB / 0.7535 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/2.111, allocations: 3.344 kB / 0.7535 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002065/2.111, allocations: 43.66 kB / 0.7536 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/2.111, allocations: 7.312 kB / 0.7536 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/2.111, allocations: 0 / 0.7536 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/2.114, allocations: 1.211 MB / 0.7548 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/2.114, allocations: 117 kB / 0.7549 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/2.114, allocations: 32.59 kB / 0.7549 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/2.115, allocations: 38.42 kB / 0.7549 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/2.115, allocations: 54.86 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.786e-05/2.115, allocations: 31.91 kB / 0.755 GB, free: 132 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 8.777e-05/2.115, allocations: 93.36 kB / 0.7551 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 6.21e-07/2.115, allocations: 0.5312 kB / 0.7551 GB, free: 131.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.001036/2.116, allocations: 195.9 kB / 0.7553 GB, free: 131.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 80 (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],cur_x[20],cur_x[21],cur_x[22],cur_x[23],cur_x[24],cur_x[25],cur_x[26],cur_x[27],cur_x[28],cur_x[29],cur_x[30],cur_x[31],cur_x[32],cur_x[33],cur_x[34],cur_x[35],cur_x[36],cur_x[37],cur_x[38],cur_x[39],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],vol[21],vol[22],vol[23],vol[24],vol[25],vol[26],vol[27],vol[28],vol[29],vol[30],vol[31],vol[32],vol[33],vol[34],vol[35],vol[36],vol[37],vol[38],vol[39],vol[40],vvol) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.002739/2.119, allocations: 1.794 MB / 0.757 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.001491/2.121, allocations: 0.904 MB / 0.7579 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.121, allocations: 0 / 0.7579 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0005212/2.121, allocations: 418.3 kB / 0.7583 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/2.122, allocations: 7.344 kB / 0.7583 GB, free: 130.5 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/2.129, allocations: 6.27 MB / 0.7645 GB, free: 126.4 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/2.13, allocations: 0.9258 MB / 0.7654 GB, free: 125.6 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0008531/2.131, allocations: 319.5 kB / 0.7657 GB, free: 125.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/2.131, allocations: 182.1 kB / 0.7658 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of SimCode: time 2.896e-06/2.131, allocations: 0 / 0.7658 GB, free: 125.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/2.174, allocations: 10.84 MB / 0.7764 GB, free: 115.8 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/2.174, allocations: 200.2 kB / 0.7766 GB, free: 115.5 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.882/5.056, allocations: 2.25 kB / 0.7766 GB, free: 115.5 MB / 0.5421 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_40.pipe 2>&1)