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.001049/0.001049, allocations: 175.5 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.386/1.386, allocations: 221.3 MB / 235.5 MB, free: 2.953 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.0008911/0.0008911, allocations: 98.08 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.042/1.042, allocations: 120.5 MB / 457.9 MB, free: 7.047 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.89e-05, allocations: 0 / 0.5368 GB, free: 11.12 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/0.5643, allocations: 82.84 MB / 0.6177 GB, free: 9.301 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.7193, allocations: 125.4 MB / 0.7401 GB, free: 11.78 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.7195, allocations: 71.77 kB / 0.7402 GB, free: 11.71 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.008222/0.7277, allocations: 2.552 MB / 0.7427 GB, free: 9.148 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7278, allocations: 0 / 0.7427 GB, free: 9.148 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.7278, allocations: 4 kB / 0.7427 GB, free: 9.145 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007805/0.7286, allocations: 486.1 kB / 0.7431 GB, free: 8.625 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.7286, allocations: 15.97 kB / 0.7432 GB, free: 8.609 MB / 0.5419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.334e-05/0.7287, allocations: 42.56 kB / 0.7432 GB, free: 8.559 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.7288, allocations: 23.8 kB / 0.7432 GB, free: 8.535 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.7291, allocations: 210.8 kB / 0.7434 GB, free: 8.289 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.7291, allocations: 19.98 kB / 0.7434 GB, free: 8.27 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.7292, allocations: 27.98 kB / 0.7435 GB, free: 8.242 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003047/0.7295, allocations: 177.5 kB / 0.7436 GB, free: 8.062 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.7295, allocations: 4 kB / 0.7436 GB, free: 8.059 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.7296, allocations: 7.953 kB / 0.7436 GB, free: 8.051 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.7296, allocations: 4 kB / 0.7436 GB, free: 8.047 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.7298, allocations: 104 kB / 0.7437 GB, free: 7.945 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.731, allocations: 0.6252 MB / 0.7444 GB, free: 7.266 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.7327, allocations: 0.5716 MB / 0.7449 GB, free: 6.688 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.7329, allocations: 89.22 kB / 0.745 GB, free: 6.598 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.7329, allocations: 8.172 kB / 0.745 GB, free: 6.59 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.7329, allocations: 38.69 kB / 0.745 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.7329, allocations: 0 / 0.745 GB, free: 6.543 MB / 0.5419 GB Notification: Performance of matching and sorting (n=22): time 0.0004239/0.7334, allocations: 225 kB / 0.7453 GB, free: 6.316 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.7334, allocations: 63.41 kB / 0.7453 GB, free: 6.242 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.393e-05/0.7335, allocations: 109 kB / 0.7454 GB, free: 6.129 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.7335, allocations: 37.64 kB / 0.7455 GB, free: 6.086 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.7336, allocations: 104.8 kB / 0.7456 GB, free: 5.98 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.7337, allocations: 94.94 kB / 0.7457 GB, free: 5.887 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.7337, allocations: 8 kB / 0.7457 GB, free: 5.879 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7338, allocations: 334.8 kB / 0.746 GB, free: 5.543 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.734, allocations: 104 kB / 0.7461 GB, free: 5.441 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.7342, allocations: 115.9 kB / 0.7462 GB, free: 5.328 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.7344, allocations: 140.1 kB / 0.7463 GB, free: 5.191 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7344, allocations: 0 / 0.7463 GB, free: 5.191 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004613/0.7349, allocations: 321.2 kB / 0.7466 GB, free: 4.871 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.7349, allocations: 5.719 kB / 0.7466 GB, free: 4.867 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.7349, allocations: 0 / 0.7466 GB, free: 4.867 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7349, allocations: 4 kB / 0.7466 GB, free: 4.863 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/0.7354, allocations: 111.9 kB / 0.7467 GB, free: 4.754 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.7354, allocations: 0 / 0.7467 GB, free: 4.754 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.7356, allocations: 35.73 kB / 0.7468 GB, free: 4.719 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.7356, allocations: 8 kB / 0.7468 GB, free: 4.711 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 (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 8.899e-05/0.7357, allocations: 121.2 kB / 0.7469 GB, free: 4.586 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.7357, allocations: 7.906 kB / 0.7469 GB, free: 4.578 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.7358, allocations: 32.75 kB / 0.7469 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7359, allocations: 0 / 0.7469 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7359, allocations: 0 / 0.7469 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7359, allocations: 0 / 0.7469 GB, free: 4.543 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.7362, allocations: 281.3 kB / 0.7472 GB, free: 4.219 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7362, allocations: 0 / 0.7472 GB, free: 4.219 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.7368, allocations: 115.9 kB / 0.7473 GB, free: 4.105 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7368, allocations: 0 / 0.7473 GB, free: 4.105 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.7369, allocations: 15.98 kB / 0.7473 GB, free: 4.09 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7369, allocations: 0 / 0.7473 GB, free: 4.09 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7369, allocations: 3.984 kB / 0.7473 GB, free: 4.086 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.7374, allocations: 435.1 kB / 0.7478 GB, free: 3.648 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.7375, allocations: 92.94 kB / 0.7478 GB, free: 3.539 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.7375, allocations: 8 kB / 0.7478 GB, free: 3.531 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.7377, allocations: 15.98 kB / 0.7479 GB, free: 3.516 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.7377, allocations: 15.97 kB / 0.7479 GB, free: 3.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.7378, allocations: 7.984 kB / 0.7479 GB, free: 3.492 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.598e-05/0.7378, allocations: 99.22 kB / 0.748 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7378, allocations: 288 / 0.748 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002587/0.7381, allocations: 56 kB / 0.748 GB, free: 3.34 MB / 0.5419 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 () * 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.0008667/0.739, allocations: 0.9655 MB / 0.749 GB, free: 2.352 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.7394, allocations: 251.7 kB / 0.7492 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7394, allocations: 0 / 0.7492 GB, free: 2.105 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.7395, allocations: 110.9 kB / 0.7493 GB, free: 2 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.7397, allocations: 8 kB / 0.7493 GB, free: 1.992 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.7417, allocations: 1.573 MB / 0.7509 GB, free: 380 kB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5683/1.31, allocations: 0.7428 MB / 0.7516 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0002597/1.31, allocations: 73.98 kB / 0.7517 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.31, allocations: 54.89 kB / 0.7517 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of SimCode: time 9.52e-07/1.31, allocations: 0 / 0.7517 GB, free: 132.4 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/1.34, allocations: 3.674 MB / 0.7553 GB, free: 132.3 MB / 0.5421 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/1.34, allocations: 216.7 kB / 0.7555 GB, free: 132.1 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/3.112, allocations: 3.938 kB / 0.7555 GB, free: 132.1 MB / 0.5421 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)