Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_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.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_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.0009814/0.0009815, allocations: 181 kB / 16.39 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.158/1.158, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008593/0.0008593, allocations: 96 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.5958/0.5958, allocations: 120.5 MB / 463 MB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 12 kB / 0.5434 GB, free: 42.3 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1093, allocations: 82.85 MB / 0.6243 GB, free: 9.129 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6081/0.7174, allocations: 128.2 MB / 0.7495 GB, free: 5.84 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.7177, allocations: 69.38 kB / 0.7496 GB, free: 5.809 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.3177/1.035, allocations: 137 MB / 0.8833 GB, free: 13.85 MB / 0.6357 GB Notification: Performance of FrontEnd: time 2.885e-06/1.035, allocations: 0 / 0.8833 GB, free: 13.85 MB / 0.6357 GB Notification: Performance of Transformations before backend: time 0.0009749/1.036, allocations: 223.9 kB / 0.8836 GB, free: 13.63 MB / 0.6357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.02814/1.065, allocations: 11.05 MB / 0.8943 GB, free: 3.051 MB / 0.6357 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/1.065, allocations: 8.031 kB / 0.8944 GB, free: 3.043 MB / 0.6357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003671/1.068, allocations: 1.205 MB / 0.8955 GB, free: 2.352 MB / 0.6357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003837/1.072, allocations: 1.039 MB / 0.8965 GB, free: 1.301 MB / 0.6357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.085, allocations: 5.28 MB / 0.9017 GB, free: 12.61 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005924/1.086, allocations: 0.5956 MB / 0.9023 GB, free: 12.27 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002132/1.088, allocations: 0.7711 MB / 0.903 GB, free: 11.75 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/1.11, allocations: 12.42 MB / 0.9152 GB, free: 2.25 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001845/1.11, allocations: 0 / 0.9152 GB, free: 2.25 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001503/1.112, allocations: 370.4 kB / 0.9155 GB, free: 2.156 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.112, allocations: 196 kB / 0.9157 GB, free: 1.965 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/1.133, allocations: 12.73 MB / 0.9281 GB, free: 8.012 MB / 0.6669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5529/1.686, allocations: 39.31 MB / 0.9665 GB, free: 150 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/1.698, allocations: 11.25 MB / 0.9775 GB, free: 149.8 MB / 0.6828 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/1.699, allocations: 66.16 kB / 0.9776 GB, free: 149.8 MB / 0.6828 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/1.699, allocations: 156.8 kB / 0.9777 GB, free: 149.7 MB / 0.6828 GB Notification: Performance of pre-optimization done (n=630): time 8.146e-06/1.699, allocations: 0 / 0.9777 GB, free: 149.7 MB / 0.6828 GB Notification: Performance of matching and sorting (n=630): time 0.02031/1.719, allocations: 15.4 MB / 0.9928 GB, free: 149 MB / 0.6828 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/1.719, allocations: 116.9 kB / 0.9929 GB, free: 149 MB / 0.6828 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009962/1.729, allocations: 8.02 MB / 1.001 GB, free: 148.6 MB / 0.6828 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.73, allocations: 163.5 kB / 1.001 GB, free: 148.5 MB / 0.6828 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/1.732, allocations: 3.699 MB / 1.004 GB, free: 147.4 MB / 0.6828 GB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.734, allocations: 2.129 MB / 1.007 GB, free: 146.4 MB / 0.6828 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005576/1.735, allocations: 147.4 kB / 1.007 GB, free: 146.4 MB / 0.6828 GB Notification: Performance of setup shared object (initialization): time 0.0002949/1.735, allocations: 0.6323 MB / 1.007 GB, free: 146 MB / 0.6828 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005349/1.74, allocations: 5.068 MB / 1.012 GB, free: 146 MB / 0.6828 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006866/1.747, allocations: 6.137 MB / 1.018 GB, free: 145.1 MB / 0.6828 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006895/1.754, allocations: 6.136 MB / 1.024 GB, free: 144.4 MB / 0.6828 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/1.754, allocations: 11.25 kB / 1.024 GB, free: 144.4 MB / 0.6828 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.02186/1.776, allocations: 16.81 MB / 1.041 GB, free: 139.9 MB / 0.6828 GB Notification: Performance of prepare postOptimizeDAE: time 4.653e-05/1.776, allocations: 17.81 kB / 1.041 GB, free: 139.9 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.567e-05/1.776, allocations: 22.72 kB / 1.041 GB, free: 139.9 MB / 0.6828 GB Notification: Tearing is skipped for strong component 1 because system size of 419 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 5.97e-05/1.776, allocations: 49.67 kB / 1.041 GB, free: 139.9 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/1.781, allocations: 1.12 MB / 1.042 GB, free: 139.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.244e-05/1.781, allocations: 57.03 kB / 1.042 GB, free: 139.8 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008152/1.789, allocations: 1.607 MB / 1.043 GB, free: 139.3 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.79, allocations: 238 kB / 1.044 GB, free: 139.2 MB / 0.6828 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (523): * Single equations (assignments): 522 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005074/1.795, allocations: 3.23 MB / 1.047 GB, free: 138.4 MB / 0.6828 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00184/1.797, allocations: 0.7253 MB / 1.048 GB, free: 138 MB / 0.6828 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/1.799, allocations: 1.12 MB / 1.049 GB, free: 137.3 MB / 0.6828 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.851e-05/1.799, allocations: 63.05 kB / 1.049 GB, free: 137.3 MB / 0.6828 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000174/1.799, allocations: 58.38 kB / 1.049 GB, free: 137.3 MB / 0.6828 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/1.799, allocations: 32.8 kB / 1.049 GB, free: 137.3 MB / 0.6828 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.812, allocations: 7.98 MB / 1.057 GB, free: 135 MB / 0.6828 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-05/1.812, allocations: 6.75 kB / 1.057 GB, free: 135 MB / 0.6828 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.814, allocations: 476.6 kB / 1.057 GB, free: 134.9 MB / 0.6828 GB Notification: Tearing is skipped for strong component 2 because system size of 419 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 3.186e-05/1.814, allocations: 6.656 kB / 1.057 GB, free: 134.9 MB / 0.6828 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005912/1.815, allocations: 99.97 kB / 1.057 GB, free: 134.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/1.815, allocations: 6.438 kB / 1.057 GB, free: 134.8 MB / 0.6828 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.815, allocations: 3.953 kB / 1.057 GB, free: 134.8 MB / 0.6828 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.831, allocations: 12.5 MB / 1.069 GB, free: 131.2 MB / 0.6828 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003968/1.835, allocations: 1.213 MB / 1.071 GB, free: 130.6 MB / 0.6828 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002324/1.838, allocations: 95.5 kB / 1.071 GB, free: 130.5 MB / 0.6828 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008847/1.847, allocations: 2.084 MB / 1.073 GB, free: 130.4 MB / 0.6828 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001569/1.848, allocations: 0.6422 MB / 1.073 GB, free: 130.4 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009421/1.849, allocations: 188.9 kB / 1.073 GB, free: 130.3 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.008093/1.857, allocations: 5.987 MB / 1.079 GB, free: 126.3 MB / 0.6828 GB Notification: Performance of sort global known variables: time 1.984e-06/1.857, allocations: 0 / 1.079 GB, free: 126.3 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.007915/1.865, allocations: 2.772 MB / 1.082 GB, free: 123.6 MB / 0.6828 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 (212): * Single equations (assignments): 211 * 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 {(419,0.6%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01848/1.884, allocations: 13.29 MB / 1.095 GB, free: 112.2 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.9, allocations: 10.94 MB / 1.106 GB, free: 102.9 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/1.9, allocations: 14 kB / 1.106 GB, free: 102.9 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.007282/1.907, allocations: 5.044 MB / 1.111 GB, free: 98.69 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008375/1.915, allocations: 1.777 MB / 1.112 GB, free: 97.32 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1417/2.057, allocations: 94.28 MB / 1.204 GB, free: 7.535 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004526/2.062, allocations: 6.103 MB / 1.21 GB, free: 1.477 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.275/2.337, allocations: 3.162 MB / 1.214 GB, free: 151.7 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004895/2.342, allocations: 2.94 MB / 1.216 GB, free: 151.7 MB / 0.6828 GB Notification: Performance of SimCode: time 8.42e-07/2.342, allocations: 0.9062 kB / 1.216 GB, free: 151.7 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2323/2.574, allocations: 185.1 MB / 1.397 GB, free: 60.14 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/2.574, allocations: 268.9 kB / 1.397 GB, free: 59.78 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.381/8.956, allocations: 0 / 1.397 GB, free: 59.78 MB / 0.6828 GB (rm -f ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelica_N_10_M_10.fmu > ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelica_N_10_M_10_res.mat does not exist to compare? outputFormat=mat