Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.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_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10",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.001189/0.001189, allocations: 180.2 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.405/1.405, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0009412/0.0009411, allocations: 93.97 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7944/0.7944, allocations: 120.5 MB / 463 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 8 kB / 0.5447 GB, free: 41.08 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1566, allocations: 82.85 MB / 0.6256 GB, free: 7.824 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.721/0.8776, allocations: 125.4 MB / 0.7481 GB, free: 8.883 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.8779, allocations: 62.78 kB / 0.7482 GB, free: 8.852 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.008225/0.8861, allocations: 2.545 MB / 0.7507 GB, free: 6.559 MB / 0.5107 GB Notification: Performance of FrontEnd: time 3.367e-06/0.8861, allocations: 0 / 0.7507 GB, free: 6.559 MB / 0.5107 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.8862, allocations: 4.766 kB / 0.7507 GB, free: 6.555 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008237/0.887, allocations: 0.499 MB / 0.7512 GB, free: 6.02 MB / 0.5107 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.8871, allocations: 12.03 kB / 0.7512 GB, free: 6.008 MB / 0.5107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/0.8871, allocations: 46.23 kB / 0.7512 GB, free: 5.961 MB / 0.5107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.8872, allocations: 15.81 kB / 0.7512 GB, free: 5.945 MB / 0.5107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.8875, allocations: 206.9 kB / 0.7514 GB, free: 5.703 MB / 0.5107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.8875, allocations: 19.67 kB / 0.7515 GB, free: 5.691 MB / 0.5107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.8876, allocations: 31.59 kB / 0.7515 GB, free: 5.668 MB / 0.5107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.8879, allocations: 184.3 kB / 0.7517 GB, free: 5.52 MB / 0.5107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.8879, allocations: 3.953 kB / 0.7517 GB, free: 5.516 MB / 0.5107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.8879, allocations: 3.875 kB / 0.7517 GB, free: 5.516 MB / 0.5107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-06/0.8879, allocations: 4 kB / 0.7517 GB, free: 5.512 MB / 0.5107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.8882, allocations: 118.2 kB / 0.7518 GB, free: 5.422 MB / 0.5107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.8894, allocations: 0.6233 MB / 0.7524 GB, free: 4.805 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.8914, allocations: 0.5731 MB / 0.753 GB, free: 4.309 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.8914, allocations: 8.188 kB / 0.753 GB, free: 4.301 MB / 0.5107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.8914, allocations: 30.75 kB / 0.753 GB, free: 4.262 MB / 0.5107 GB Notification: Performance of pre-optimization done (n=22): time 1.152e-06/0.8914, allocations: 0 / 0.753 GB, free: 4.262 MB / 0.5107 GB Notification: Performance of matching and sorting (n=22): time 0.0005682/0.892, allocations: 310.3 kB / 0.7533 GB, free: 4.02 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.8921, allocations: 55.41 kB / 0.7533 GB, free: 3.953 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.8922, allocations: 116.6 kB / 0.7535 GB, free: 3.84 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.8922, allocations: 37.39 kB / 0.7535 GB, free: 3.805 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.8923, allocations: 100.3 kB / 0.7536 GB, free: 3.703 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.8923, allocations: 102 kB / 0.7537 GB, free: 3.617 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/0.8924, allocations: 7.375 kB / 0.7537 GB, free: 3.617 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.8925, allocations: 330.2 kB / 0.754 GB, free: 3.293 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.8927, allocations: 111 kB / 0.7541 GB, free: 3.211 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.8928, allocations: 110.8 kB / 0.7542 GB, free: 3.129 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.893, allocations: 134.1 kB / 0.7543 GB, free: 3.035 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.893, allocations: 0 / 0.7543 GB, free: 3.035 MB / 0.5107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004782/0.8935, allocations: 331.6 kB / 0.7547 GB, free: 2.781 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8935, allocations: 4 kB / 0.7547 GB, free: 2.777 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8936, allocations: 4 kB / 0.7547 GB, free: 2.773 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8936, allocations: 0 / 0.7547 GB, free: 2.773 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.8941, allocations: 111.8 kB / 0.7548 GB, free: 2.664 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8941, allocations: 4 kB / 0.7548 GB, free: 2.66 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.8942, allocations: 39.23 kB / 0.7548 GB, free: 2.629 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.8942, allocations: 11.5 kB / 0.7548 GB, free: 2.621 MB / 0.5107 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 (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 prepare postOptimizeDAE: time 0.0001197/0.8944, allocations: 137.1 kB / 0.755 GB, free: 2.484 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.8944, allocations: 15.89 kB / 0.755 GB, free: 2.469 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.8945, allocations: 31.59 kB / 0.755 GB, free: 2.457 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.8945, allocations: 4 kB / 0.755 GB, free: 2.453 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8945, allocations: 0 / 0.755 GB, free: 2.453 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8945, allocations: 0 / 0.755 GB, free: 2.453 MB / 0.5107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.8948, allocations: 273.6 kB / 0.7553 GB, free: 2.164 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8948, allocations: 0 / 0.7553 GB, free: 2.164 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.8955, allocations: 111.9 kB / 0.7554 GB, free: 2.055 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8955, allocations: 0 / 0.7554 GB, free: 2.055 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.8956, allocations: 19.73 kB / 0.7554 GB, free: 2.039 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8956, allocations: 0 / 0.7554 GB, free: 2.039 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8956, allocations: 4 kB / 0.7554 GB, free: 2.035 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.8961, allocations: 436.4 kB / 0.7558 GB, free: 1.672 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.8962, allocations: 88.95 kB / 0.7559 GB, free: 1.566 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.8962, allocations: 15.61 kB / 0.7559 GB, free: 1.555 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.8964, allocations: 7.984 kB / 0.7559 GB, free: 1.547 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.8965, allocations: 15.67 kB / 0.7559 GB, free: 1.535 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.8965, allocations: 11.97 kB / 0.7559 GB, free: 1.523 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.8966, allocations: 94.53 kB / 0.756 GB, free: 1.438 MB / 0.5107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8966, allocations: 0 / 0.756 GB, free: 1.438 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.0002613/0.8968, allocations: 62.94 kB / 0.7561 GB, free: 1.383 MB / 0.5107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],vol[1],vol[2],vol[3],vol[4],vol[5],vol[6],vol[7],vol[8],vol[9],vol[10],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 (22): * Single equations (assignments): 22 * 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.0008052/0.8976, allocations: 0.9698 MB / 0.757 GB, free: 480 kB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.8981, allocations: 251.6 kB / 0.7573 GB, free: 280 kB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8981, allocations: 0 / 0.7573 GB, free: 280 kB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.8982, allocations: 114.2 kB / 0.7574 GB, free: 196 kB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.8984, allocations: 7.938 kB / 0.7574 GB, free: 192 kB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.9015, allocations: 2.672 MB / 0.76 GB, free: 13.68 MB / 0.5263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.9018, allocations: 0.7479 MB / 0.7607 GB, free: 12.9 MB / 0.5263 GB Notification: Performance of simCode: alias equations: time 0.0001739/0.902, allocations: 73.47 kB / 0.7608 GB, free: 12.83 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-05/0.9021, allocations: 56.78 kB / 0.7609 GB, free: 12.81 MB / 0.5263 GB Notification: Performance of SimCode: time 3.31e-07/0.9021, allocations: 4 kB / 0.7609 GB, free: 12.8 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.9168, allocations: 3.75 MB / 0.7645 GB, free: 9.273 MB / 0.5263 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.917, allocations: 234.1 kB / 0.7648 GB, free: 9.035 MB / 0.5263 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.648, allocations: 0 / 0.7648 GB, free: 9.035 MB / 0.5263 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10_fmu --startTime=0 --stopTime=4e-06 --timeout=300 --tolerance=1e-08 ScalableTestSuite_ScalableTestSuite_Electrical_TransmissionLine_ScaledExperiments_TransmissionLineEquations_N_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineEquations_N_10.pipe 2>&1)