Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.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.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20",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.001004/0.001004, allocations: 95.27 kB / 16.3 MB, free: 5.285 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.001097/0.001097, allocations: 179.3 kB / 17.19 MB, free: 5.195 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.155/1.155, allocations: 223.2 MB / 241.1 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.7806/0.7806, allocations: 120.5 MB / 412.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002646/0.0002647, allocations: 12 kB / 0.4943 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3987, allocations: 82.84 MB / 0.5752 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20): time 0.001673/0.4004, allocations: 1.919 MB / 0.577 GB, free: 40.39 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0006086/0.401, allocations: 0.5281 MB / 0.5775 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.4011, allocations: 3.688 kB / 0.5776 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 9.407e-05/0.4012, allocations: 30.47 kB / 0.5776 GB, free: 39.93 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.4013, allocations: 80.48 kB / 0.5777 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.4015, allocations: 37.7 kB / 0.5777 GB, free: 39.83 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0193/0.4208, allocations: 33.19 MB / 0.6101 GB, free: 10.53 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01667/0.4375, allocations: 17.23 MB / 0.6269 GB, free: 9.215 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01593/0.4534, allocations: 14.07 MB / 0.6407 GB, free: 11.09 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02185/0.4753, allocations: 15.92 MB / 0.6562 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.007224/0.4826, allocations: 1.926 MB / 0.6581 GB, free: 9.168 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009995/0.4926, allocations: 1.934 MB / 0.66 GB, free: 7.234 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.009372/0.502, allocations: 6.253 MB / 0.6661 GB, free: 0.9609 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.5122, allocations: 6.757 MB / 0.6727 GB, free: 10.18 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.03663/0.5488, allocations: 43.26 MB / 0.7149 GB, free: 14.83 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5489, allocations: 3.938 kB / 0.7149 GB, free: 14.82 MB / 0.5608 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5489, allocations: 0 / 0.7149 GB, free: 14.82 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.001621/0.5505, allocations: 0 / 0.7149 GB, free: 14.82 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8189 * Number of variables: 8189 Notification: Performance of Generate backend data structure: time 0.08958/0.6401, allocations: 44.61 MB / 0.7585 GB, free: 1.996 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.6401, allocations: 12.03 kB / 0.7585 GB, free: 1.984 MB / 0.592 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.4201/1.06, allocations: 4.62 MB / 0.763 GB, free: 114.9 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.073, allocations: 4.014 MB / 0.7669 GB, free: 114.3 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04858/1.122, allocations: 20.21 MB / 0.7867 GB, free: 108.4 MB / 0.5923 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00168/1.123, allocations: 2.312 MB / 0.7889 GB, free: 106.1 MB / 0.5923 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007138/1.131, allocations: 3 MB / 0.7919 GB, free: 103.1 MB / 0.5923 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07762/1.208, allocations: 50.76 MB / 0.8414 GB, free: 54.57 MB / 0.5923 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005446/1.209, allocations: 0 / 0.8414 GB, free: 54.57 MB / 0.5923 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005683/1.214, allocations: 1.402 MB / 0.8428 GB, free: 53.16 MB / 0.5923 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003733/1.215, allocations: 0.7539 MB / 0.8435 GB, free: 52.41 MB / 0.5923 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07545/1.29, allocations: 52.07 MB / 0.8944 GB, free: 312 kB / 0.5923 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3231/1.613, allocations: 156.2 MB / 1.047 GB, free: 1.32 MB / 0.7485 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3014/1.915, allocations: 45.91 MB / 1.092 GB, free: 223.2 MB / 0.7485 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/1.916, allocations: 248.2 kB / 1.092 GB, free: 223.2 MB / 0.7485 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003021/1.917, allocations: 495.8 kB / 1.093 GB, free: 222.8 MB / 0.7485 GB Notification: Performance of pre-optimization done (n=2460): time 2.455e-05/1.917, allocations: 0 / 1.093 GB, free: 222.8 MB / 0.7485 GB Notification: Performance of matching and sorting (n=2460): time 0.08767/2.004, allocations: 60.48 MB / 1.152 GB, free: 185.1 MB / 0.7485 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/2.004, allocations: 298.6 kB / 1.152 GB, free: 184.8 MB / 0.7485 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04164/2.046, allocations: 33.87 MB / 1.185 GB, free: 153.5 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 0.004158/2.05, allocations: 0.5524 MB / 1.185 GB, free: 152.9 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.009935/2.06, allocations: 14.73 MB / 1.2 GB, free: 138.3 MB / 0.7485 GB Notification: Performance of collectInitialBindings (initialization): time 0.006779/2.067, allocations: 8.314 MB / 1.208 GB, free: 130 MB / 0.7485 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002948/2.07, allocations: 0.5625 MB / 1.209 GB, free: 129.5 MB / 0.7485 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/2.07, allocations: 305.1 kB / 1.209 GB, free: 129.2 MB / 0.7485 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02344/2.093, allocations: 19.87 MB / 1.228 GB, free: 109.3 MB / 0.7485 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02615/2.12, allocations: 24.08 MB / 1.252 GB, free: 83.95 MB / 0.7485 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02874/2.148, allocations: 24.1 MB / 1.275 GB, free: 59.8 MB / 0.7485 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/2.148, allocations: 25.09 kB / 1.275 GB, free: 59.78 MB / 0.7485 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.353/2.502, allocations: 66.18 MB / 1.34 GB, free: 195 MB / 0.7485 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/2.502, allocations: 46.19 kB / 1.34 GB, free: 195 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/2.502, allocations: 88 kB / 1.34 GB, free: 195 MB / 0.7485 GB Notification: Tearing is skipped for strong component 1 because system size of 1639 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.0002306/2.502, allocations: 178 kB / 1.34 GB, free: 195 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/2.519, allocations: 4.554 MB / 1.345 GB, free: 194.5 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002695/2.519, allocations: 223.9 kB / 1.345 GB, free: 194.5 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0304/2.55, allocations: 6.884 MB / 1.352 GB, free: 193.1 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003794/2.554, allocations: 0.9152 MB / 1.353 GB, free: 193.1 MB / 0.7485 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 402 * 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 (2043): * Single equations (assignments): 2042 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01925/2.573, allocations: 12.36 MB / 1.365 GB, free: 192.7 MB / 0.7485 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006957/2.58, allocations: 2.821 MB / 1.367 GB, free: 191.9 MB / 0.7485 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007352/2.587, allocations: 4.372 MB / 1.372 GB, free: 190.6 MB / 0.7485 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001064/2.587, allocations: 232.1 kB / 1.372 GB, free: 190.6 MB / 0.7485 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0005381/2.588, allocations: 232.2 kB / 1.372 GB, free: 190.6 MB / 0.7485 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001594/2.588, allocations: 115.3 kB / 1.372 GB, free: 190.6 MB / 0.7485 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04069/2.629, allocations: 30.95 MB / 1.402 GB, free: 181.9 MB / 0.7485 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.189e-05/2.629, allocations: 9.016 kB / 1.402 GB, free: 181.9 MB / 0.7485 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006238/2.635, allocations: 1.908 MB / 1.404 GB, free: 181.7 MB / 0.7485 GB Notification: Tearing is skipped for strong component 2 because system size of 1639 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 6.215e-05/2.635, allocations: 26.38 kB / 1.404 GB, free: 181.7 MB / 0.7485 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002651/2.638, allocations: 387.1 kB / 1.405 GB, free: 181.4 MB / 0.7485 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.603e-05/2.638, allocations: 30.38 kB / 1.405 GB, free: 181.4 MB / 0.7485 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/2.638, allocations: 0 / 1.405 GB, free: 181.4 MB / 0.7485 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06408/2.702, allocations: 48.95 MB / 1.452 GB, free: 152 MB / 0.7485 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01211/2.714, allocations: 4.475 MB / 1.457 GB, free: 147.5 MB / 0.7485 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008248/2.722, allocations: 391.1 kB / 1.457 GB, free: 147.1 MB / 0.7485 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0342/2.757, allocations: 8.922 MB / 1.466 GB, free: 138.1 MB / 0.7485 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004982/2.762, allocations: 2.495 MB / 1.468 GB, free: 135.6 MB / 0.7485 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002667/2.764, allocations: 0.7031 MB / 1.469 GB, free: 134.9 MB / 0.7485 GB Notification: Performance of sorting global known variables: time 0.02692/2.791, allocations: 23.26 MB / 1.492 GB, free: 111.8 MB / 0.7485 GB Notification: Performance of sort global known variables: time 6.72e-07/2.791, allocations: 3.719 kB / 1.492 GB, free: 111.8 MB / 0.7485 GB Notification: Performance of remove unused functions: time 0.03104/2.822, allocations: 10.83 MB / 1.502 GB, free: 100.9 MB / 0.7485 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 (822): * Single equations (assignments): 821 * 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 {(1639,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0828/2.905, allocations: 50.46 MB / 1.552 GB, free: 50.32 MB / 0.7485 GB Notification: Performance of simCode: created initialization part: time 0.0623/2.967, allocations: 42.65 MB / 1.593 GB, free: 7.66 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 3.729e-05/2.968, allocations: 54.42 kB / 1.593 GB, free: 7.605 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.2867/3.254, allocations: 19.5 MB / 1.612 GB, free: 241.8 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03143/3.286, allocations: 7.097 MB / 1.619 GB, free: 240.5 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.867/5.153, allocations: 0.5456 GB / 2.165 GB, free: 24.19 MB / 0.7798 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02653/5.179, allocations: 21.96 MB / 2.186 GB, free: 2.543 MB / 0.7798 GB Notification: Performance of simCode: alias equations: time 0.2829/5.462, allocations: 13.59 MB / 2.2 GB, free: 241.7 MB / 0.7798 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01685/5.479, allocations: 12.87 MB / 2.212 GB, free: 232.6 MB / 0.7798 GB Notification: Performance of SimCode: time 9.72e-07/5.479, allocations: 0 / 2.212 GB, free: 232.6 MB / 0.7798 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.259/6.738, allocations: 0.6704 GB / 2.883 GB, free: 172.8 MB / 0.7954 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/6.738, allocations: 297.5 kB / 2.883 GB, free: 172.5 MB / 0.7954 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/21.92, allocations: 5.906 kB / 2.883 GB, free: 172.5 MB / 0.7954 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_20_M_20.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_20_M_20_res.mat does not exist to compare? outputFormat=mat