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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.0008419/0.0008419, allocations: 177.1 kB / 8.35 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.189/1.189, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0008745/0.0008746, allocations: 92.39 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8284/0.8284, allocations: 120.5 MB / 452.4 MB, free: 10.51 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.501e-05, allocations: 4 kB / 0.5289 GB, free: 1.219 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4782, allocations: 82.83 MB / 0.6098 GB, free: 13.04 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.6144, allocations: 127.4 MB / 0.7342 GB, free: 13.47 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.6146, allocations: 75.91 kB / 0.7343 GB, free: 13.39 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 2.333/2.948, allocations: 0.5458 GB / 1.28 GB, free: 52.74 MB / 0.6828 GB Notification: Performance of FrontEnd: time 1.703e-06/2.948, allocations: 0 / 1.28 GB, free: 52.74 MB / 0.6828 GB Notification: Performance of Transformations before backend: time 0.003019/2.951, allocations: 0.8664 MB / 1.281 GB, free: 52.64 MB / 0.6828 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.09168/3.043, allocations: 40.59 MB / 1.321 GB, free: 43.32 MB / 0.6828 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/3.043, allocations: 11.19 kB / 1.321 GB, free: 43.32 MB / 0.6828 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/3.056, allocations: 4.003 MB / 1.324 GB, free: 41.4 MB / 0.6828 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04326/3.1, allocations: 20.12 MB / 1.344 GB, free: 37.84 MB / 0.6828 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001579/3.101, allocations: 0.9966 MB / 1.345 GB, free: 37.84 MB / 0.6828 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00775/3.109, allocations: 1.75 MB / 1.347 GB, free: 37.84 MB / 0.6828 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07335/3.182, allocations: 47.51 MB / 1.393 GB, free: 37.6 MB / 0.6828 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08422/3.267, allocations: 43.19 MB / 1.435 GB, free: 26.53 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001224/3.268, allocations: 4 kB / 1.435 GB, free: 26.52 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007651/3.276, allocations: 51.95 kB / 1.435 GB, free: 26.47 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004327/3.276, allocations: 0.75 MB / 1.436 GB, free: 25.72 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.718/3.994, allocations: 153.2 MB / 1.586 GB, free: 27.51 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04818/4.042, allocations: 44.2 MB / 1.629 GB, free: 25.82 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0236/4.066, allocations: 19.82 MB / 1.648 GB, free: 24.57 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/4.068, allocations: 251.3 kB / 1.649 GB, free: 24.55 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005498/4.068, allocations: 493.2 kB / 1.649 GB, free: 24.23 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=2460): time 3.327e-05/4.068, allocations: 3.719 kB / 1.649 GB, free: 24.23 MB / 0.6984 GB Notification: Performance of matching and sorting (n=2460): time 0.07252/4.141, allocations: 44.88 MB / 1.693 GB, free: 13.89 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/4.141, allocations: 303.4 kB / 1.693 GB, free: 13.81 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03814/4.179, allocations: 25.74 MB / 1.718 GB, free: 21.53 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.003998/4.183, allocations: 77.7 kB / 1.718 GB, free: 21.45 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.01022/4.193, allocations: 15.1 MB / 1.733 GB, free: 8.941 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.008462/4.202, allocations: 7.976 MB / 1.741 GB, free: 1.582 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002933/4.205, allocations: 0 / 1.741 GB, free: 1.582 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/4.205, allocations: 301.1 kB / 1.741 GB, free: 1.285 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0986/4.303, allocations: 25.25 MB / 1.766 GB, free: 15.24 MB / 0.7296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4124/4.716, allocations: 23.09 MB / 1.788 GB, free: 69.91 MB / 0.7296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02959/4.745, allocations: 23.28 MB / 1.811 GB, free: 69.54 MB / 0.7296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003027/4.746, allocations: 25.75 kB / 1.811 GB, free: 69.54 MB / 0.7296 GB Notification: Performance of matching and sorting (n=3681) (initialization): time 0.09705/4.843, allocations: 62.37 MB / 1.872 GB, free: 66.7 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 0.000272/4.843, allocations: 43.78 kB / 1.872 GB, free: 66.7 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002513/4.843, allocations: 86.75 kB / 1.872 GB, free: 66.7 MB / 0.7296 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.0002803/4.844, allocations: 183.2 kB / 1.872 GB, free: 66.7 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01741/4.861, allocations: 4.563 MB / 1.877 GB, free: 66.47 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002695/4.861, allocations: 223.5 kB / 1.877 GB, free: 66.43 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03398/4.895, allocations: 6.022 MB / 1.883 GB, free: 65.67 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004931/4.9, allocations: 0.9117 MB / 1.884 GB, free: 65.67 MB / 0.7296 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 () * 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.008773/4.909, allocations: 0.493 MB / 1.884 GB, free: 65.33 MB / 0.7296 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.08905/4.998, allocations: 44.88 MB / 1.928 GB, free: 62.09 MB / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01217/5.01, allocations: 2.542 MB / 1.931 GB, free: 60.88 MB / 0.7296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/5.022, allocations: 3.786 MB / 1.934 GB, free: 60.61 MB / 0.7296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002373/5.023, allocations: 230.7 kB / 1.934 GB, free: 60.61 MB / 0.7296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0006886/5.023, allocations: 239.1 kB / 1.935 GB, free: 60.61 MB / 0.7296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007953/5.024, allocations: 112.9 kB / 1.935 GB, free: 60.61 MB / 0.7296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05319/5.077, allocations: 26.56 MB / 1.961 GB, free: 55.46 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001217/5.078, allocations: 0 / 1.961 GB, free: 55.46 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006417/5.084, allocations: 1.908 MB / 1.963 GB, free: 55.33 MB / 0.7296 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 9.583e-05/5.084, allocations: 29.47 kB / 1.963 GB, free: 55.33 MB / 0.7296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002467/5.087, allocations: 0 / 1.963 GB, free: 55.33 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.168e-05/5.087, allocations: 23.03 kB / 1.963 GB, free: 55.33 MB / 0.7296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/5.087, allocations: 5.219 kB / 1.963 GB, free: 55.33 MB / 0.7296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0642/5.151, allocations: 46.26 MB / 2.008 GB, free: 28.51 MB / 0.7296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009472/5.16, allocations: 3.975 MB / 2.012 GB, free: 24.82 MB / 0.7296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007193/5.168, allocations: 4 kB / 2.012 GB, free: 24.82 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03523/5.203, allocations: 8.463 MB / 2.02 GB, free: 20.31 MB / 0.7296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004814/5.208, allocations: 2.492 MB / 2.022 GB, free: 19.02 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00327/5.211, allocations: 0.6992 MB / 2.023 GB, free: 18.32 MB / 0.7296 GB Notification: Performance of sorting global known variables: time 0.02287/5.234, allocations: 18.85 MB / 2.042 GB, free: 2.035 MB / 0.7296 GB Notification: Performance of sort global known variables: time 3.71e-07/5.234, allocations: 3.5 kB / 2.042 GB, free: 2.035 MB / 0.7296 GB Notification: Performance of remove unused functions: time 0.05666/5.29, allocations: 12.41 MB / 2.054 GB, free: 12.69 MB / 0.7453 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 () * 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.4446/5.735, allocations: 48.67 MB / 2.101 GB, free: 92.6 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.05809/5.793, allocations: 40.44 MB / 2.141 GB, free: 91.44 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 4.615e-05/5.793, allocations: 58.52 kB / 2.141 GB, free: 91.43 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 0.02599/5.819, allocations: 18.38 MB / 2.159 GB, free: 90.72 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02318/5.843, allocations: 4.683 MB / 2.163 GB, free: 90.5 MB / 0.7453 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1286/5.971, allocations: 79.35 MB / 2.241 GB, free: 70.9 MB / 0.7453 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02313/5.994, allocations: 22.04 MB / 2.262 GB, free: 55.56 MB / 0.7453 GB Notification: Performance of simCode: alias equations: time 0.03019/6.025, allocations: 12.62 MB / 2.275 GB, free: 48 MB / 0.7453 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01753/6.042, allocations: 12.61 MB / 2.287 GB, free: 36.18 MB / 0.7453 GB Notification: Performance of SimCode: time 1.062e-06/6.042, allocations: 0 / 2.287 GB, free: 36.18 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.534/7.576, allocations: 0.5736 GB / 2.861 GB, free: 33.32 MB / 0.7921 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/7.576, allocations: 237.7 kB / 2.861 GB, free: 33.02 MB / 0.7921 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.7/30.27, allocations: 0 / 2.861 GB, free: 33.02 MB / 0.7921 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) 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