Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_40_M_40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008149/0.000815, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5942/0.5942, allocations: 120.5 MB / 412.7 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002655/0.0002656, allocations: 8 kB / 0.4942 GB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1149, allocations: 82.85 MB / 0.5752 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40): time 1.215/1.33, allocations: 0.5203 GB / 1.095 GB, free: 0.7305 MB / 0.7485 GB Notification: Performance of NFInst.instExpressions: time 0.6153/1.946, allocations: 155.4 MB / 1.247 GB, free: 8.184 MB / 0.811 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.111/2.057, allocations: 2.866 MB / 1.25 GB, free: 8.184 MB / 0.811 GB Notification: Performance of NFTyping.typeComponents: time 0.0847/2.141, allocations: 18.32 MB / 1.268 GB, free: 0 / 0.811 GB Notification: Performance of NFTyping.typeBindings: time 0.1868/2.328, allocations: 59.84 MB / 1.326 GB, free: 14.44 MB / 0.8423 GB Notification: Performance of NFTyping.typeClassSections: time 0.09326/2.422, allocations: 27.62 MB / 1.353 GB, free: 5.312 MB / 0.8423 GB Notification: Performance of NFFlatten.flatten: time 0.2198/2.641, allocations: 126.2 MB / 1.477 GB, free: 12.38 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9772/3.619, allocations: 38.39 MB / 1.514 GB, free: 10.33 MB / 0.9522 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08824/3.707, allocations: 54.06 MB / 1.567 GB, free: 10.33 MB / 0.9522 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09114/3.798, allocations: 61.91 MB / 1.627 GB, free: 10.33 MB / 0.9522 GB Notification: Performance of NFPackage.collectConstants: time 0.0464/3.845, allocations: 7.616 MB / 1.635 GB, free: 9.457 MB / 0.9522 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05754/3.902, allocations: 7.609 MB / 1.642 GB, free: 1.848 MB / 0.9522 GB Notification: Performance of NFScalarize.scalarize: time 0.07413/3.976, allocations: 26 MB / 1.668 GB, free: 0 / 0.9522 GB Notification: Performance of NFVerifyModel.verify: time 0.06442/4.041, allocations: 26.99 MB / 1.694 GB, free: 13.5 MB / 0.9834 GB Notification: Performance of NFConvertDAE.convert: time 0.1543/4.195, allocations: 120.3 MB / 1.811 GB, free: 5.293 MB / 1.077 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/4.195, allocations: 0 / 1.811 GB, free: 5.293 MB / 1.077 GB Notification: Performance of FrontEnd: time 2.063e-06/4.195, allocations: 0 / 1.811 GB, free: 5.293 MB / 1.077 GB Notification: Performance of Transformations before backend: time 0.007158/4.202, allocations: 0 / 1.811 GB, free: 5.293 MB / 1.077 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32369 * Number of variables: 32369 Notification: Performance of Generate backend data structure: time 0.2627/4.465, allocations: 124.2 MB / 1.933 GB, free: 1.91 MB / 1.187 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/4.465, allocations: 8.031 kB / 1.933 GB, free: 1.902 MB / 1.187 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.6455/5.111, allocations: 16.26 MB / 1.949 GB, free: 456.6 MB / 1.188 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04561/5.156, allocations: 15.82 MB / 1.964 GB, free: 454 MB / 1.188 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1073/5.264, allocations: 47.3 MB / 2.01 GB, free: 441.9 MB / 1.188 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008508/5.272, allocations: 9.136 MB / 2.019 GB, free: 441.7 MB / 1.188 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03413/5.306, allocations: 11.85 MB / 2.031 GB, free: 441.7 MB / 1.188 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2526/5.559, allocations: 97.07 MB / 2.125 GB, free: 394.2 MB / 1.188 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003865/5.563, allocations: 0 / 2.125 GB, free: 394.2 MB / 1.188 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02877/5.592, allocations: 5.535 MB / 2.131 GB, free: 390.1 MB / 1.188 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00293/5.595, allocations: 2.969 MB / 2.134 GB, free: 390.1 MB / 1.188 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1904/5.785, allocations: 83.81 MB / 2.216 GB, free: 325.6 MB / 1.188 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.154/6.939, allocations: 377.7 MB / 2.584 GB, free: 339.5 MB / 1.188 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2205/7.16, allocations: 119.4 MB / 2.701 GB, free: 303 MB / 1.188 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005928/7.166, allocations: 0.9723 MB / 2.702 GB, free: 302.9 MB / 1.188 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/7.168, allocations: 1.813 MB / 2.704 GB, free: 301.8 MB / 1.188 GB Notification: Performance of pre-optimization done (n=9720): time 0.0002874/7.168, allocations: 0 / 2.704 GB, free: 301.8 MB / 1.188 GB Notification: Performance of matching and sorting (n=9720): time 0.2583/7.426, allocations: 123.4 MB / 2.824 GB, free: 257.9 MB / 1.188 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005116/7.427, allocations: 1.018 MB / 2.825 GB, free: 257.7 MB / 1.188 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1318/7.559, allocations: 76.83 MB / 2.9 GB, free: 199.4 MB / 1.188 GB Notification: Performance of collectPreVariables (initialization): time 0.01252/7.571, allocations: 2.099 MB / 2.902 GB, free: 197.3 MB / 1.188 GB Notification: Performance of collectInitialEqns (initialization): time 0.4375/8.009, allocations: 60.41 MB / 2.961 GB, free: 354.7 MB / 1.188 GB Notification: Performance of collectInitialBindings (initialization): time 0.02696/8.036, allocations: 32.52 MB / 2.993 GB, free: 333.6 MB / 1.188 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01305/8.049, allocations: 2.224 MB / 2.995 GB, free: 333.6 MB / 1.188 GB Notification: Performance of setup shared object (initialization): time 0.007115/8.056, allocations: 4.561 MB / 3 GB, free: 333.1 MB / 1.188 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05565/8.112, allocations: 28.67 MB / 3.028 GB, free: 329.2 MB / 1.188 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06865/8.18, allocations: 44.49 MB / 3.071 GB, free: 302.3 MB / 1.188 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07932/8.26, allocations: 34.83 MB / 3.105 GB, free: 285 MB / 1.188 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005412/8.26, allocations: 104.1 kB / 3.105 GB, free: 285 MB / 1.188 GB Notification: Performance of matching and sorting (n=14561) (initialization): time 0.2849/8.545, allocations: 131.5 MB / 3.234 GB, free: 230.5 MB / 1.188 GB Notification: Performance of prepare postOptimizeDAE: time 0.000336/8.545, allocations: 157.6 kB / 3.234 GB, free: 230.5 MB / 1.188 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006538/8.546, allocations: 351.2 kB / 3.234 GB, free: 230.5 MB / 1.188 GB Notification: Tearing is skipped for strong component 1 because system size of 6479 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.0006258/8.547, allocations: 0.6917 MB / 3.235 GB, free: 230.5 MB / 1.188 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04945/8.596, allocations: 12.53 MB / 3.247 GB, free: 223.6 MB / 1.188 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008125/8.597, allocations: 0.8628 MB / 3.248 GB, free: 222.8 MB / 1.188 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08956/8.687, allocations: 10.86 MB / 3.259 GB, free: 211.8 MB / 1.188 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01456/8.701, allocations: 3.602 MB / 3.262 GB, free: 208.2 MB / 1.188 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1602 * 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 (8083): * Single equations (assignments): 8082 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.04696/8.748, allocations: 13.27 MB / 3.275 GB, free: 194.9 MB / 1.188 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02731/8.776, allocations: 11.13 MB / 3.286 GB, free: 183.6 MB / 1.188 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4537/9.229, allocations: 10.83 MB / 3.296 GB, free: 358 MB / 1.188 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007363/9.23, allocations: 0.8907 MB / 3.297 GB, free: 358 MB / 1.188 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.002529/9.232, allocations: 0.8923 MB / 3.298 GB, free: 358 MB / 1.188 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/9.234, allocations: 457.8 kB / 3.299 GB, free: 358 MB / 1.188 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1568/9.391, allocations: 84.77 MB / 3.381 GB, free: 353.8 MB / 1.188 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0009533/9.392, allocations: 0.75 kB / 3.381 GB, free: 353.8 MB / 1.188 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.018/9.41, allocations: 4.806 MB / 3.386 GB, free: 353.5 MB / 1.188 GB Notification: Tearing is skipped for strong component 2 because system size of 6479 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/9.41, allocations: 103.1 kB / 3.386 GB, free: 353.5 MB / 1.188 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.009474/9.419, allocations: 1.486 MB / 3.388 GB, free: 352.4 MB / 1.188 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001507/9.42, allocations: 104.3 kB / 3.388 GB, free: 352.4 MB / 1.188 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/9.42, allocations: 2.188 kB / 3.388 GB, free: 352.4 MB / 1.188 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1843/9.604, allocations: 105.5 MB / 3.491 GB, free: 313.3 MB / 1.188 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02869/9.633, allocations: 11.6 MB / 3.502 GB, free: 304.3 MB / 1.188 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02638/9.659, allocations: 1.482 MB / 3.504 GB, free: 303.2 MB / 1.188 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0949/9.754, allocations: 13.36 MB / 3.517 GB, free: 298.9 MB / 1.188 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01798/9.772, allocations: 9.863 MB / 3.526 GB, free: 293.5 MB / 1.188 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.01462/9.787, allocations: 2.768 MB / 3.529 GB, free: 292.7 MB / 1.188 GB Notification: Performance of sorting global known variables: time 0.09874/9.885, allocations: 50.76 MB / 3.579 GB, free: 267.2 MB / 1.188 GB Notification: Performance of sort global known variables: time 1.373e-06/9.885, allocations: 0 / 3.579 GB, free: 267.2 MB / 1.188 GB Notification: Performance of remove unused functions: time 0.08641/9.972, allocations: 34.76 MB / 3.613 GB, free: 232.7 MB / 1.188 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3242): * Single equations (assignments): 3241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(6479,0.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2091/10.18, allocations: 110 MB / 3.72 GB, free: 122.5 MB / 1.188 GB Notification: Performance of simCode: created initialization part: time 0.5611/10.74, allocations: 85.93 MB / 3.804 GB, free: 344.2 MB / 1.188 GB Notification: Performance of simCode: created event and clocks part: time 0.0002659/10.74, allocations: 227.6 kB / 3.804 GB, free: 344.2 MB / 1.188 GB Notification: Performance of simCode: created simulation system equations: time 0.09074/10.83, allocations: 44.35 MB / 3.847 GB, free: 341.2 MB / 1.188 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09848/10.93, allocations: 21.45 MB / 3.868 GB, free: 339.4 MB / 1.188 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 12.34/23.28, allocations: 4.619 GB / 8.487 GB, free: 425.6 MB / 1.531 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06996/23.35, allocations: 46.12 MB / 8.532 GB, free: 395 MB / 1.531 GB Notification: Performance of simCode: alias equations: time 0.06837/23.41, allocations: 10.45 MB / 8.542 GB, free: 386.7 MB / 1.531 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06787/23.48, allocations: 61.53 MB / 8.603 GB, free: 353.8 MB / 1.531 GB Notification: Performance of SimCode: time 2.225e-06/23.48, allocations: 0 / 8.603 GB, free: 353.8 MB / 1.531 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.136/28.62, allocations: 1.932 GB / 10.53 GB, free: 371.9 MB / 1.531 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/28.62, allocations: 364.2 kB / 10.54 GB, free: 371.6 MB / 1.531 GB Notification: Performance of buildModelFMU: Generate platform static: time 62.01/90.62, allocations: 0 / 10.54 GB, free: 371.6 MB / 1.531 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_40_M_40_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaIndividual_N_40_M_40.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaIndividual_N_40_M_40_res.mat does not exist to compare? outputFormat=mat