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.001121/0.001121, 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.556/1.556, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.001243/0.001243, allocations: 101.7 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.184/1.184, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.305e-05/2.274e-05, allocations: 0 / 0.5296 GB, free: 452 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8154/0.8154, allocations: 82.84 MB / 0.6105 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/1.013, allocations: 124.7 MB / 0.7323 GB, free: 80 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.013, allocations: 67.83 kB / 0.7324 GB, free: 16 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.01641/1.03, allocations: 4.319 MB / 0.7366 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.744e-06/1.03, allocations: 0 / 0.7366 GB, free: 11.67 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.696e-05/1.03, allocations: 4 kB / 0.7366 GB, free: 11.67 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.001325/1.031, allocations: 0.6587 MB / 0.7373 GB, free: 10.96 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 8.836e-05/1.031, allocations: 16.02 kB / 0.7373 GB, free: 10.95 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/1.031, allocations: 23.81 kB / 0.7373 GB, free: 10.92 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/1.032, allocations: 250.7 kB / 0.7376 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/1.032, allocations: 8 kB / 0.7376 GB, free: 10.63 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.068e-05/1.032, allocations: 43.81 kB / 0.7376 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003395/1.032, allocations: 185 kB / 0.7378 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/1.033, allocations: 315.5 kB / 0.7381 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/1.033, allocations: 0 / 0.7381 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/1.033, allocations: 3.953 kB / 0.7381 GB, free: 10.09 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.033, allocations: 8 kB / 0.7381 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/1.035, allocations: 0.947 MB / 0.739 GB, free: 9.09 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/1.039, allocations: 1.186 MB / 0.7402 GB, free: 7.895 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/1.039, allocations: 176.8 kB / 0.7403 GB, free: 7.719 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/1.039, allocations: 4 kB / 0.7403 GB, free: 7.715 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/1.039, allocations: 42.5 kB / 0.7404 GB, free: 7.664 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=42): time 1.744e-06/1.039, allocations: 0 / 0.7404 GB, free: 7.664 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42): time 0.0009718/1.04, allocations: 401.3 kB / 0.7408 GB, free: 7.27 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/1.04, allocations: 59.41 kB / 0.7408 GB, free: 7.199 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/1.04, allocations: 117.1 kB / 0.7409 GB, free: 7.074 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.04, allocations: 29.64 kB / 0.741 GB, free: 7.039 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/1.04, allocations: 117.1 kB / 0.7411 GB, free: 6.918 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/1.041, allocations: 193.2 kB / 0.7413 GB, free: 6.727 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/1.041, allocations: 0 / 0.7413 GB, free: 6.727 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.041, allocations: 346.8 kB / 0.7416 GB, free: 6.379 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/1.041, allocations: 201.5 kB / 0.7418 GB, free: 6.184 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/1.041, allocations: 205.3 kB / 0.742 GB, free: 5.98 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/1.042, allocations: 248.4 kB / 0.7422 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.042, allocations: 0 / 0.7422 GB, free: 5.738 MB / 0.5419 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007779/1.042, allocations: 0.5507 MB / 0.7428 GB, free: 5.184 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.043, allocations: 11.98 kB / 0.7428 GB, free: 5.172 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.043, allocations: 0 / 0.7428 GB, free: 5.172 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.043, allocations: 4 kB / 0.7428 GB, free: 5.168 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/1.044, allocations: 227.8 kB / 0.743 GB, free: 4.945 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.724e-05/1.044, allocations: 4 kB / 0.743 GB, free: 4.941 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/1.044, allocations: 47.41 kB / 0.743 GB, free: 4.895 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/1.044, allocations: 23.95 kB / 0.7431 GB, free: 4.871 MB / 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.0001146/1.044, allocations: 109.2 kB / 0.7432 GB, free: 4.758 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005708/1.045, allocations: 404.4 kB / 0.7436 GB, free: 4.359 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/1.045, allocations: 19.81 kB / 0.7436 GB, free: 4.34 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/1.045, allocations: 46.12 kB / 0.7436 GB, free: 4.293 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.045, allocations: 4 kB / 0.7436 GB, free: 4.289 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.045, allocations: 3.953 kB / 0.7436 GB, free: 4.285 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.045, allocations: 3.984 kB / 0.7436 GB, free: 4.281 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/1.045, allocations: 341.8 kB / 0.744 GB, free: 3.91 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/1.045, allocations: 4 kB / 0.744 GB, free: 3.906 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/1.047, allocations: 219.8 kB / 0.7442 GB, free: 3.691 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/1.047, allocations: 4.375 kB / 0.7442 GB, free: 3.688 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/1.047, allocations: 23.97 kB / 0.7442 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.047, allocations: 0 / 0.7442 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.047, allocations: 0 / 0.7442 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/1.048, allocations: 0.6789 MB / 0.7449 GB, free: 2.969 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/1.048, allocations: 92.86 kB / 0.7449 GB, free: 2.859 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.917e-05/1.048, allocations: 19.97 kB / 0.745 GB, free: 2.84 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/1.048, allocations: 19.97 kB / 0.745 GB, free: 2.82 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/1.048, allocations: 19.97 kB / 0.745 GB, free: 2.801 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/1.048, allocations: 19.92 kB / 0.745 GB, free: 2.781 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.995e-05/1.048, allocations: 91.28 kB / 0.7451 GB, free: 2.691 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 3.938 kB / 0.7451 GB, free: 2.688 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0003431/1.049, allocations: 95.94 kB / 0.7452 GB, free: 2.594 MB / 0.5419 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.001121/1.05, allocations: 1.235 MB / 0.7464 GB, free: 1.328 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0006073/1.05, allocations: 459.3 kB / 0.7468 GB, free: 0.8828 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.05, allocations: 4 kB / 0.7469 GB, free: 0.8789 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/1.051, allocations: 211.6 kB / 0.7471 GB, free: 0.6719 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/1.051, allocations: 4 kB / 0.7471 GB, free: 0.668 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7716/1.822, allocations: 3.089 MB / 0.7501 GB, free: 134 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.823, allocations: 0.8057 MB / 0.7509 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0004837/1.823, allocations: 160.2 kB / 0.751 GB, free: 133.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/1.824, allocations: 94.27 kB / 0.7511 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of SimCode: time 1.463e-06/1.824, allocations: 0.9375 kB / 0.7511 GB, free: 133.2 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/1.856, allocations: 5.819 MB / 0.7568 GB, free: 132.6 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/1.856, allocations: 197.5 kB / 0.757 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/4.406, allocations: 0 / 0.757 GB, free: 132.3 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)