Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_14_M_14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.036/3.036, allocations: 326.3 MB / 339.3 MB, free: 11.2 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.956e-05, allocations: 9.234 kB / 422.3 MB, free: 0.5391 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1641, allocations: 80 MB / 0.4906 GB, free: 440 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6367/0.8008, allocations: 127.6 MB / 0.6151 GB, free: 9.152 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.8011, allocations: 62.91 kB / 0.6152 GB, free: 9.121 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 1.675/2.476, allocations: 282.1 MB / 0.8907 GB, free: 109.1 MB / 0.6515 GB Notification: Performance of FrontEnd: time 2.345e-06/2.476, allocations: 0 / 0.8907 GB, free: 109.1 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 0.002348/2.478, allocations: 463.5 kB / 0.8911 GB, free: 109.1 MB / 0.6515 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4265 * Number of variables: 4265 Notification: Performance of Generate backend data structure: time 0.08187/2.56, allocations: 21.24 MB / 0.9119 GB, free: 103.9 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/2.56, allocations: 15.47 kB / 0.9119 GB, free: 103.9 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007715/2.568, allocations: 2.337 MB / 0.9142 GB, free: 103.8 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/2.578, allocations: 2.113 MB / 0.9162 GB, free: 102.8 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03643/2.615, allocations: 10.66 MB / 0.9266 GB, free: 100.8 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001663/2.617, allocations: 1.214 MB / 0.9278 GB, free: 100.7 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006004/2.623, allocations: 1.587 MB / 0.9294 GB, free: 100.7 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07273/2.695, allocations: 24.6 MB / 0.9534 GB, free: 90.06 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008503/2.696, allocations: 3.938 kB / 0.9534 GB, free: 90.05 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005698/2.702, allocations: 0.7227 MB / 0.9541 GB, free: 89.33 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/2.702, allocations: 401.1 kB / 0.9545 GB, free: 88.94 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06758/2.77, allocations: 25.05 MB / 0.979 GB, free: 67.22 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7745/3.545, allocations: 80.53 MB / 1.058 GB, free: 79.95 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0553/3.6, allocations: 23.3 MB / 1.08 GB, free: 79.41 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02457/3.625, allocations: 10.71 MB / 1.091 GB, free: 79.23 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/3.626, allocations: 132.8 kB / 1.091 GB, free: 79.21 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/3.626, allocations: 266.2 kB / 1.091 GB, free: 79.16 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=1274): time 2.041e-05/3.627, allocations: 0 / 1.091 GB, free: 79.16 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1274): time 0.07686/3.703, allocations: 24.35 MB / 1.115 GB, free: 78.14 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/3.704, allocations: 179.2 kB / 1.115 GB, free: 78.07 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0448/3.748, allocations: 15.99 MB / 1.131 GB, free: 77.39 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.00371/3.752, allocations: 304.3 kB / 1.131 GB, free: 77.36 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.009935/3.762, allocations: 7.712 MB / 1.139 GB, free: 73.55 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.006293/3.769, allocations: 4.335 MB / 1.143 GB, free: 70.36 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003721/3.772, allocations: 298.9 kB / 1.143 GB, free: 70.13 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.001766/3.774, allocations: 0.9743 MB / 1.144 GB, free: 69.55 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02712/3.801, allocations: 10.23 MB / 1.154 GB, free: 67.27 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02887/3.83, allocations: 12.35 MB / 1.166 GB, free: 62.91 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03027/3.861, allocations: 12.39 MB / 1.178 GB, free: 60.16 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/3.861, allocations: 14.75 kB / 1.178 GB, free: 60.16 MB / 0.6515 GB Notification: Performance of matching and sorting (n=1919) (initialization): time 0.1058/3.966, allocations: 33.68 MB / 1.211 GB, free: 41.46 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/3.967, allocations: 28 kB / 1.211 GB, free: 41.43 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/3.967, allocations: 49.52 kB / 1.211 GB, free: 41.39 MB / 0.6515 GB Notification: Tearing is skipped for strong component 1 because system size of 825 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.0001819/3.967, allocations: 96 kB / 1.211 GB, free: 41.3 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02054/3.988, allocations: 2.536 MB / 1.214 GB, free: 39.36 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002644/3.988, allocations: 121.6 kB / 1.214 GB, free: 39.25 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03444/4.022, allocations: 3.545 MB / 1.217 GB, free: 36.83 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004314/4.027, allocations: 488 kB / 1.218 GB, free: 36.36 MB / 0.6515 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1095): * Single equations (assignments): 1094 * 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 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007724/4.034, allocations: 0.8422 MB / 1.219 GB, free: 35.51 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008435/4.043, allocations: 1.479 MB / 1.22 GB, free: 34.01 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007483/4.05, allocations: 2.276 MB / 1.222 GB, free: 31.88 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.964e-05/4.051, allocations: 123.8 kB / 1.222 GB, free: 31.76 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003095/4.051, allocations: 116 kB / 1.223 GB, free: 31.64 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003633/4.051, allocations: 67.05 kB / 1.223 GB, free: 31.64 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04791/4.099, allocations: 16.3 MB / 1.238 GB, free: 19.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.626e-05/4.099, allocations: 0 / 1.238 GB, free: 19.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009676/4.109, allocations: 1.183 MB / 1.24 GB, free: 18.54 MB / 0.6515 GB Notification: Tearing is skipped for strong component 2 because system size of 825 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.719e-05/4.109, allocations: 16 kB / 1.24 GB, free: 18.53 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002459/4.112, allocations: 223.8 kB / 1.24 GB, free: 18.31 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.396e-05/4.112, allocations: 15.8 kB / 1.24 GB, free: 18.3 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/4.112, allocations: 4 kB / 1.24 GB, free: 18.3 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1138/4.226, allocations: 36.5 MB / 1.276 GB, free: 4.047 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01091/4.237, allocations: 2.345 MB / 1.278 GB, free: 1.809 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008046/4.245, allocations: 224.3 kB / 1.278 GB, free: 1.594 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04777/4.292, allocations: 4.952 MB / 1.283 GB, free: 0 / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008374/4.301, allocations: 1.649 MB / 1.284 GB, free: 15.6 MB / 0.6828 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003894/4.305, allocations: 368 kB / 1.285 GB, free: 15.24 MB / 0.6828 GB Notification: Performance of sorting global known variables: time 0.03527/4.34, allocations: 11.88 MB / 1.296 GB, free: 4.902 MB / 0.6828 GB Notification: Performance of sort global known variables: time 9.32e-07/4.34, allocations: 0 / 1.296 GB, free: 4.902 MB / 0.6828 GB Notification: Performance of remove unused functions: time 0.5378/4.878, allocations: 6.058 MB / 1.302 GB, free: 120.7 MB / 0.6828 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 28 (activeLoad[1].firstOrder1.y,activeLoad[1].firstOrder2.y,activeLoad[2].firstOrder1.y,activeLoad[2].firstOrder2.y,activeLoad[3].firstOrder1.y,activeLoad[3].firstOrder2.y,activeLoad[4].firstOrder1.y,activeLoad[4].firstOrder2.y,activeLoad[5].firstOrder1.y,activeLoad[5].firstOrder2.y,activeLoad[6].firstOrder1.y,activeLoad[6].firstOrder2.y,activeLoad[7].firstOrder1.y,activeLoad[7].firstOrder2.y,activeLoad[8].firstOrder1.y,activeLoad[8].firstOrder2.y,activeLoad[9].firstOrder1.y,activeLoad[9].firstOrder2.y,activeLoad[10].firstOrder1.y,activeLoad[10].firstOrder2.y,activeLoad[11].firstOrder1.y,activeLoad[11].firstOrder2.y,activeLoad[12].firstOrder1.y,activeLoad[12].firstOrder2.y,activeLoad[13].firstOrder1.y,activeLoad[13].firstOrder2.y,activeLoad[14].firstOrder1.y,activeLoad[14].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (450): * Single equations (assignments): 449 * 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 {(825,0.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1129/4.991, allocations: 37.34 MB / 1.339 GB, free: 118.7 MB / 0.6828 GB Notification: Performance of simCode: created initialization part: time 0.05782/5.049, allocations: 21.72 MB / 1.36 GB, free: 118 MB / 0.6828 GB Notification: Performance of simCode: created event and clocks part: time 5.309e-05/5.049, allocations: 28.38 kB / 1.36 GB, free: 118 MB / 0.6828 GB Notification: Performance of simCode: created simulation system equations: time 0.0292/5.078, allocations: 9.948 MB / 1.37 GB, free: 117.6 MB / 0.6828 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02936/5.108, allocations: 3.714 MB / 1.373 GB, free: 117.5 MB / 0.6828 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1182/5.226, allocations: 42.58 MB / 1.415 GB, free: 110.7 MB / 0.6828 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02066/5.247, allocations: 11.9 MB / 1.427 GB, free: 104.4 MB / 0.6828 GB Notification: Performance of simCode: alias equations: time 0.03222/5.279, allocations: 6.657 MB / 1.433 GB, free: 100.2 MB / 0.6828 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01671/5.296, allocations: 6.575 MB / 1.44 GB, free: 94.11 MB / 0.6828 GB Notification: Performance of SimCode: time 1.994e-06/5.296, allocations: 0 / 1.44 GB, free: 94.11 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/6.612, allocations: 365.3 MB / 1.796 GB, free: 13.78 MB / 0.714 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004281/6.613, allocations: 264.8 kB / 1.797 GB, free: 13.43 MB / 0.714 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/20.95, allocations: 0 / 1.797 GB, free: 13.43 MB / 0.714 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_14_M_14_res.mat does not exist to compare? outputFormat=mat