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.001418/0.001418, allocations: 177.1 kB / 8.349 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.536/1.536, allocations: 221.5 MB / 230.3 MB, free: 7.551 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.0009764/0.0009764, allocations: 100.5 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.373/1.373, allocations: 120.5 MB / 452.4 MB, free: 10.47 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.562e-05, allocations: 0 / 0.5296 GB, free: 428 kB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8263, allocations: 82.84 MB / 0.6105 GB, free: 12.96 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/1.01, allocations: 124.7 MB / 0.7323 GB, free: 112 kB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.011, allocations: 67.77 kB / 0.7324 GB, free: 48 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.008987/1.02, allocations: 2.54 MB / 0.7349 GB, free: 13.49 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.653e-06/1.02, allocations: 0 / 0.7349 GB, free: 13.49 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.02, allocations: 4 kB / 0.7349 GB, free: 13.48 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.0009702/1.021, allocations: 490.1 kB / 0.7353 GB, free: 12.96 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/1.021, allocations: 8.031 kB / 0.7353 GB, free: 12.95 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/1.021, allocations: 19.81 kB / 0.7354 GB, free: 12.93 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/1.021, allocations: 218.8 kB / 0.7356 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/1.021, allocations: 4 kB / 0.7356 GB, free: 12.68 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/1.021, allocations: 16 kB / 0.7356 GB, free: 12.66 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002078/1.021, allocations: 107.9 kB / 0.7357 GB, free: 12.55 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/1.022, allocations: 165.5 kB / 0.7358 GB, free: 12.39 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.022, allocations: 3.953 kB / 0.7358 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.022, allocations: 0 / 0.7358 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.022, allocations: 7.984 kB / 0.7359 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/1.023, allocations: 0.575 MB / 0.7364 GB, free: 11.76 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/1.025, allocations: 0.5612 MB / 0.737 GB, free: 11.19 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/1.025, allocations: 89.2 kB / 0.7371 GB, free: 11.1 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/1.025, allocations: 4.188 kB / 0.7371 GB, free: 11.09 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/1.025, allocations: 30.75 kB / 0.7371 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=22): time 1.072e-06/1.025, allocations: 0 / 0.7371 GB, free: 11.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=22): time 0.0004161/1.025, allocations: 221.1 kB / 0.7373 GB, free: 10.83 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/1.025, allocations: 51.41 kB / 0.7373 GB, free: 10.77 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.026, allocations: 120.9 kB / 0.7375 GB, free: 10.64 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/1.026, allocations: 25.7 kB / 0.7375 GB, free: 10.61 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/1.026, allocations: 104.7 kB / 0.7376 GB, free: 10.51 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/1.026, allocations: 98.56 kB / 0.7377 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/1.026, allocations: 0 / 0.7377 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.026, allocations: 326.8 kB / 0.738 GB, free: 10.08 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/1.026, allocations: 103.9 kB / 0.7381 GB, free: 9.98 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/1.026, allocations: 103.9 kB / 0.7382 GB, free: 9.879 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/1.026, allocations: 120.4 kB / 0.7383 GB, free: 9.762 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.026, allocations: 7.953 kB / 0.7383 GB, free: 9.754 MB / 0.5419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004144/1.027, allocations: 300.9 kB / 0.7386 GB, free: 9.453 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/1.027, allocations: 4 kB / 0.7386 GB, free: 9.449 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/1.027, allocations: 0 / 0.7386 GB, free: 9.449 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.027, allocations: 4 kB / 0.7386 GB, free: 9.445 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/1.027, allocations: 111.9 kB / 0.7387 GB, free: 9.336 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/1.027, allocations: 0 / 0.7387 GB, free: 9.336 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/1.027, allocations: 23.73 kB / 0.7387 GB, free: 9.312 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/1.027, allocations: 8 kB / 0.7387 GB, free: 9.305 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.895e-05/1.028, allocations: 112.9 kB / 0.7388 GB, free: 9.188 MB / 0.5419 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003302/1.028, allocations: 228.9 kB / 0.7391 GB, free: 8.961 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/1.028, allocations: 11.91 kB / 0.7391 GB, free: 8.949 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/1.028, allocations: 24.75 kB / 0.7391 GB, free: 8.922 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.028, allocations: 4 kB / 0.7391 GB, free: 8.918 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.028, allocations: 0 / 0.7391 GB, free: 8.918 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/1.028, allocations: 3.984 kB / 0.7391 GB, free: 8.914 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/1.029, allocations: 233.9 kB / 0.7393 GB, free: 8.648 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.029, allocations: 4 kB / 0.7393 GB, free: 8.645 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/1.029, allocations: 103.9 kB / 0.7394 GB, free: 8.543 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.029, allocations: 4 kB / 0.7394 GB, free: 8.539 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/1.029, allocations: 15.98 kB / 0.7395 GB, free: 8.523 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.029, allocations: 0 / 0.7395 GB, free: 8.523 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.029, allocations: 0 / 0.7395 GB, free: 8.523 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/1.03, allocations: 415.8 kB / 0.7399 GB, free: 8.102 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/1.03, allocations: 88.95 kB / 0.7399 GB, free: 7.996 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/1.03, allocations: 11.97 kB / 0.7399 GB, free: 7.984 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/1.03, allocations: 12.36 kB / 0.74 GB, free: 7.973 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/1.03, allocations: 11.98 kB / 0.74 GB, free: 7.961 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/1.03, allocations: 12 kB / 0.74 GB, free: 7.949 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 5.381e-05/1.03, allocations: 99.14 kB / 0.7401 GB, free: 7.852 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0 / 0.7401 GB, free: 7.852 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.000261/1.031, allocations: 51.91 kB / 0.7401 GB, free: 7.801 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.0007424/1.031, allocations: 0.9534 MB / 0.7411 GB, free: 6.828 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003284/1.032, allocations: 227.6 kB / 0.7413 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.032, allocations: 0 / 0.7413 GB, free: 6.605 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/1.032, allocations: 111.8 kB / 0.7414 GB, free: 6.496 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.032, allocations: 10.64 kB / 0.7414 GB, free: 6.488 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/1.034, allocations: 1.541 MB / 0.7429 GB, free: 4.898 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/1.034, allocations: 0.7438 MB / 0.7436 GB, free: 4.125 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0001797/1.035, allocations: 73.78 kB / 0.7437 GB, free: 4.055 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/1.035, allocations: 51.42 kB / 0.7437 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of SimCode: time 2.41e-07/1.035, allocations: 0 / 0.7437 GB, free: 4.004 MB / 0.5419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/1.06, allocations: 3.31 MB / 0.747 GB, free: 0.7305 MB / 0.5419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.06, allocations: 201.3 kB / 0.7472 GB, free: 476 kB / 0.5419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/3.161, allocations: 0 / 0.7472 GB, free: 476 kB / 0.5419 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)