Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemDC_ScaledExperiments_DistributionSystemModelicaActiveLoads_N_20_M_20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.055/3.055, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.395e-05, allocations: 1.25 kB / 422.3 MB, free: 0.5508 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1618, allocations: 80 MB / 0.4905 GB, free: 452 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6404/0.8022, allocations: 127.6 MB / 0.6151 GB, free: 9.051 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.8025, allocations: 64.66 kB / 0.6152 GB, free: 9.02 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 3.373/4.175, allocations: 0.5634 GB / 1.179 GB, free: 42.18 MB / 0.6671 GB Notification: Performance of FrontEnd: time 3.266e-06/4.175, allocations: 3.844 kB / 1.179 GB, free: 42.18 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 0.006281/4.182, allocations: 0.904 MB / 1.179 GB, free: 42.07 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8489 * Number of variables: 8489 Notification: Performance of Generate backend data structure: time 0.1658/4.347, allocations: 42.49 MB / 1.221 GB, free: 30.85 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/4.347, allocations: 10.25 kB / 1.221 GB, free: 30.85 MB / 0.6671 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01708/4.364, allocations: 4.63 MB / 1.225 GB, free: 30.24 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02078/4.385, allocations: 4.187 MB / 1.23 GB, free: 26 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08148/4.467, allocations: 21.05 MB / 1.25 GB, free: 10.02 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003878/4.471, allocations: 2.407 MB / 1.252 GB, free: 8.648 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01311/4.484, allocations: 3.149 MB / 1.256 GB, free: 6.547 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7708/5.255, allocations: 54.49 MB / 1.309 GB, free: 44.04 MB / 0.6828 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002004/5.257, allocations: 0.8906 kB / 1.309 GB, free: 44.04 MB / 0.6828 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0128/5.27, allocations: 1.448 MB / 1.31 GB, free: 44.04 MB / 0.6828 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009832/5.271, allocations: 0.7758 MB / 1.311 GB, free: 44.04 MB / 0.6828 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1365/5.407, allocations: 50.15 MB / 1.36 GB, free: 43.9 MB / 0.6828 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5253/5.933, allocations: 161.7 MB / 1.518 GB, free: 2.715 MB / 0.6828 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2085/6.141, allocations: 52.96 MB / 1.57 GB, free: 5.566 MB / 0.714 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6092/6.75, allocations: 21.45 MB / 1.59 GB, free: 75.31 MB / 0.714 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002697/6.753, allocations: 257.3 kB / 1.591 GB, free: 75.29 MB / 0.714 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008327/6.754, allocations: 0.4922 MB / 1.591 GB, free: 75.22 MB / 0.714 GB Notification: Performance of pre-optimization done (n=2540): time 8.542e-05/6.754, allocations: 1.594 kB / 1.591 GB, free: 75.22 MB / 0.714 GB Notification: Performance of matching and sorting (n=2540): time 0.1506/6.905, allocations: 48.75 MB / 1.639 GB, free: 73.4 MB / 0.714 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002337/6.905, allocations: 310.7 kB / 1.639 GB, free: 73.32 MB / 0.714 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08443/6.99, allocations: 31.83 MB / 1.67 GB, free: 72.28 MB / 0.714 GB Notification: Performance of collectPreVariables (initialization): time 0.00686/6.996, allocations: 0.5698 MB / 1.671 GB, free: 72.25 MB / 0.714 GB Notification: Performance of collectInitialEqns (initialization): time 0.0198/7.016, allocations: 15.45 MB / 1.686 GB, free: 68.09 MB / 0.714 GB Notification: Performance of collectInitialBindings (initialization): time 0.01226/7.029, allocations: 8.628 MB / 1.694 GB, free: 62.63 MB / 0.714 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006415/7.035, allocations: 0.5849 MB / 1.695 GB, free: 62.63 MB / 0.714 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/7.035, allocations: 308.6 kB / 1.695 GB, free: 62.33 MB / 0.714 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04895/7.084, allocations: 20.4 MB / 1.715 GB, free: 58.2 MB / 0.714 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05546/7.14, allocations: 24.61 MB / 1.739 GB, free: 49.57 MB / 0.714 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05741/7.197, allocations: 24.75 MB / 1.763 GB, free: 41.87 MB / 0.714 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002539/7.197, allocations: 28 kB / 1.763 GB, free: 41.84 MB / 0.714 GB Notification: Performance of matching and sorting (n=3821) (initialization): time 0.2001/7.398, allocations: 67.59 MB / 1.829 GB, free: 1.586 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/7.398, allocations: 44 kB / 1.829 GB, free: 1.543 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002515/7.398, allocations: 96 kB / 1.829 GB, free: 1.449 MB / 0.7296 GB Notification: Tearing is skipped for strong component 1 because system size of 1659 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.000365/7.398, allocations: 184 kB / 1.83 GB, free: 1.27 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0443/7.443, allocations: 5.192 MB / 1.835 GB, free: 13.83 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005223/7.443, allocations: 232.3 kB / 1.835 GB, free: 13.62 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6238/8.067, allocations: 7.451 MB / 1.842 GB, free: 102.7 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007264/8.074, allocations: 0.942 MB / 1.843 GB, free: 102.7 MB / 0.7453 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 422 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2163): * Single equations (assignments): 2162 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01359/8.088, allocations: 1.578 MB / 1.845 GB, free: 102.6 MB / 0.7453 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01626/8.104, allocations: 2.941 MB / 1.847 GB, free: 102.5 MB / 0.7453 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/8.119, allocations: 4.537 MB / 1.852 GB, free: 102.2 MB / 0.7453 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002939/8.119, allocations: 242.1 kB / 1.852 GB, free: 102.2 MB / 0.7453 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000654/8.12, allocations: 232.9 kB / 1.852 GB, free: 102.2 MB / 0.7453 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007391/8.121, allocations: 119.5 kB / 1.852 GB, free: 102.2 MB / 0.7453 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08757/8.208, allocations: 32.29 MB / 1.884 GB, free: 100.9 MB / 0.7453 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003531/8.209, allocations: 0 / 1.884 GB, free: 100.9 MB / 0.7453 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01757/8.226, allocations: 2.286 MB / 1.886 GB, free: 100.9 MB / 0.7453 GB Notification: Tearing is skipped for strong component 2 because system size of 1659 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.0001383/8.226, allocations: 32.75 kB / 1.886 GB, free: 100.9 MB / 0.7453 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004127/8.231, allocations: 434.4 kB / 1.887 GB, free: 100.9 MB / 0.7453 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.058e-05/8.231, allocations: 25.72 kB / 1.887 GB, free: 100.9 MB / 0.7453 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.231, allocations: 0 / 1.887 GB, free: 100.9 MB / 0.7453 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2003/8.431, allocations: 72.57 MB / 1.958 GB, free: 96.95 MB / 0.7453 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01874/8.45, allocations: 4.599 MB / 1.962 GB, free: 95.45 MB / 0.7453 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01406/8.464, allocations: 427.7 kB / 1.962 GB, free: 95.45 MB / 0.7453 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07464/8.539, allocations: 9.258 MB / 1.972 GB, free: 95.45 MB / 0.7453 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00913/8.548, allocations: 2.938 MB / 1.974 GB, free: 95.39 MB / 0.7453 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006084/8.554, allocations: 0.7245 MB / 1.975 GB, free: 95.19 MB / 0.7453 GB Notification: Performance of sorting global known variables: time 0.05711/8.611, allocations: 23.74 MB / 1.998 GB, free: 89.02 MB / 0.7453 GB Notification: Performance of sort global known variables: time 1.152e-06/8.611, allocations: 0 / 1.998 GB, free: 89.02 MB / 0.7453 GB Notification: Performance of remove unused functions: time 0.04491/8.656, allocations: 11.2 MB / 2.009 GB, free: 87.43 MB / 0.7453 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (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,activeLoad[15].firstOrder1.y,activeLoad[15].firstOrder2.y,activeLoad[16].firstOrder1.y,activeLoad[16].firstOrder2.y,activeLoad[17].firstOrder1.y,activeLoad[17].firstOrder2.y,activeLoad[18].firstOrder1.y,activeLoad[18].firstOrder2.y,activeLoad[19].firstOrder1.y,activeLoad[19].firstOrder2.y,activeLoad[20].firstOrder1.y,activeLoad[20].firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (882): * Single equations (assignments): 881 * 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 {(1659,0.2%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2086/8.865, allocations: 74.14 MB / 2.082 GB, free: 25.95 MB / 0.7453 GB Notification: Performance of simCode: created initialization part: time 0.6713/9.536, allocations: 45.36 MB / 2.126 GB, free: 99.08 MB / 0.7453 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-05/9.536, allocations: 57.64 kB / 2.126 GB, free: 99.07 MB / 0.7453 GB Notification: Performance of simCode: created simulation system equations: time 0.06118/9.597, allocations: 19.74 MB / 2.145 GB, free: 98.35 MB / 0.7453 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05914/9.657, allocations: 7.424 MB / 2.153 GB, free: 98.04 MB / 0.7453 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2729/9.93, allocations: 86.15 MB / 2.237 GB, free: 87.4 MB / 0.7453 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05054/9.98, allocations: 22.96 MB / 2.259 GB, free: 85.86 MB / 0.7453 GB Notification: Performance of simCode: alias equations: time 0.07309/10.05, allocations: 13.7 MB / 2.272 GB, free: 85.62 MB / 0.7453 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04491/10.1, allocations: 13.64 MB / 2.286 GB, free: 85.19 MB / 0.7453 GB Notification: Performance of SimCode: time 3.266e-06/10.1, allocations: 0 / 2.286 GB, free: 85.19 MB / 0.7453 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.524/13.62, allocations: 0.6934 GB / 2.979 GB, free: 17.85 MB / 0.8078 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/13.62, allocations: 282.8 kB / 2.979 GB, free: 17.51 MB / 0.8078 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.72/42.34, allocations: 0 / 2.979 GB, free: 17.51 MB / 0.8078 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemDC.ScaledExperiments.DistributionSystemModelicaActiveLoads_N_20_M_20_res.mat does not exist to compare? outputFormat=mat