Running command: "" <> buildModelFMU(ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Electrical_DistributionSystemAC_Verification_DistributionSystemLinear_N_2_M_2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.119/3.119, allocations: 326.3 MB / 339.3 MB, free: 11.19 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 4.181e-05/4.185e-05, allocations: 4 kB / 422.3 MB, free: 0.543 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1848, allocations: 80 MB / 0.4905 GB, free: 444 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/0.8738, allocations: 126.5 MB / 0.6141 GB, free: 10.45 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.874, allocations: 50.36 kB / 0.6142 GB, free: 10.42 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.1355/1.01, allocations: 39.57 MB / 0.6528 GB, free: 11.3 MB / 0.5265 GB Notification: Performance of FrontEnd: time 2.535e-06/1.01, allocations: 0 / 0.6528 GB, free: 11.3 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 7.015e-05/1.01, allocations: 23.94 kB / 0.6528 GB, free: 11.27 MB / 0.5265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.008203/1.018, allocations: 1.843 MB / 0.6546 GB, free: 9.516 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 7.127e-05/1.018, allocations: 16.02 kB / 0.6546 GB, free: 9.5 MB / 0.5265 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005501/1.019, allocations: 191 kB / 0.6548 GB, free: 9.379 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/1.019, allocations: 110.7 kB / 0.6549 GB, free: 9.27 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.021, allocations: 0.7828 MB / 0.6557 GB, free: 8.605 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.88e-05/1.021, allocations: 88.8 kB / 0.6558 GB, free: 8.555 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/1.022, allocations: 122.6 kB / 0.6559 GB, free: 8.473 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0047/1.026, allocations: 1.678 MB / 0.6575 GB, free: 7.23 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/1.027, allocations: 3.938 kB / 0.6575 GB, free: 7.227 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/1.027, allocations: 50.81 kB / 0.6576 GB, free: 7.215 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/1.027, allocations: 32 kB / 0.6576 GB, free: 7.184 MB / 0.5265 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/1.031, allocations: 1.463 MB / 0.659 GB, free: 6.148 MB / 0.5265 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01542/1.047, allocations: 6.047 MB / 0.665 GB, free: 1.184 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/1.049, allocations: 0.9723 MB / 0.6659 GB, free: 488 kB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/1.051, allocations: 0.5552 MB / 0.6664 GB, free: 68 kB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 4.895e-05/1.051, allocations: 4.438 kB / 0.6664 GB, free: 64 kB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/1.051, allocations: 46.77 kB / 0.6665 GB, free: 12 kB / 0.5265 GB Notification: Performance of pre-optimization done (n=53): time 4.298e-06/1.051, allocations: 0 / 0.6665 GB, free: 12 kB / 0.5265 GB Notification: Performance of matching and sorting (n=53): time 0.003957/1.055, allocations: 1.367 MB / 0.6678 GB, free: 14.92 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/1.055, allocations: 63.78 kB / 0.6679 GB, free: 14.84 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.056, allocations: 0.5613 MB / 0.6684 GB, free: 14.38 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.056, allocations: 37.52 kB / 0.6685 GB, free: 14.34 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/1.057, allocations: 483.4 kB / 0.6689 GB, free: 13.94 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/1.057, allocations: 192.4 kB / 0.6691 GB, free: 13.78 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.214e-05/1.057, allocations: 15.62 kB / 0.6691 GB, free: 13.77 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.057, allocations: 369.7 kB / 0.6695 GB, free: 13.42 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009466/1.058, allocations: 421 kB / 0.6699 GB, free: 13.12 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.059, allocations: 0.6357 MB / 0.6705 GB, free: 12.5 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.06, allocations: 0.5485 MB / 0.671 GB, free: 12.09 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.061, allocations: 4 kB / 0.671 GB, free: 12.08 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0047/1.065, allocations: 1.661 MB / 0.6727 GB, free: 10.73 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.065, allocations: 10.5 kB / 0.6727 GB, free: 10.73 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.065, allocations: 8.844 kB / 0.6727 GB, free: 10.72 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/1.068, allocations: 0.5943 MB / 0.6733 GB, free: 10.21 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/1.069, allocations: 127.6 kB / 0.6734 GB, free: 10.09 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/1.082, allocations: 6.236 MB / 0.6795 GB, free: 5.297 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/1.084, allocations: 182.5 kB / 0.6797 GB, free: 5.129 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/1.084, allocations: 27.88 kB / 0.6797 GB, free: 5.105 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (load[2,2].controller.local_reset,load[2,1].controller.local_reset,load[1,2].controller.local_reset,load[1,1].controller.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,81.6%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002399/1.084, allocations: 150.9 kB / 0.6798 GB, free: 4.973 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.084, allocations: 51.39 kB / 0.6799 GB, free: 4.922 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/1.084, allocations: 99.69 kB / 0.68 GB, free: 4.883 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.084, allocations: 8 kB / 0.68 GB, free: 4.875 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.151e-05/1.084, allocations: 4 kB / 0.68 GB, free: 4.871 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.084, allocations: 3.984 kB / 0.68 GB, free: 4.867 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/1.087, allocations: 1.049 MB / 0.681 GB, free: 4.012 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.087, allocations: 0 / 0.681 GB, free: 4.012 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005149/1.087, allocations: 59.73 kB / 0.6811 GB, free: 3.957 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/1.089, allocations: 0.5842 MB / 0.6816 GB, free: 3.465 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.09, allocations: 23.38 kB / 0.6817 GB, free: 3.449 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/1.103, allocations: 6.224 MB / 0.6877 GB, free: 14.66 MB / 0.5578 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.103, allocations: 0 / 0.6877 GB, free: 14.66 MB / 0.5578 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/1.108, allocations: 2.071 MB / 0.6898 GB, free: 13.04 MB / 0.5578 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/1.109, allocations: 148.3 kB / 0.6899 GB, free: 12.88 MB / 0.5578 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/1.109, allocations: 11.69 kB / 0.6899 GB, free: 12.87 MB / 0.5578 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/1.11, allocations: 111.5 kB / 0.69 GB, free: 12.77 MB / 0.5578 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/1.11, allocations: 44 kB / 0.6901 GB, free: 12.73 MB / 0.5578 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/1.11, allocations: 15.7 kB / 0.6901 GB, free: 12.72 MB / 0.5578 GB Notification: Performance of sorting global known variables: time 0.0008126/1.111, allocations: 445.1 kB / 0.6905 GB, free: 12.38 MB / 0.5578 GB Notification: Performance of sort global known variables: time 5.21e-07/1.111, allocations: 4 kB / 0.6905 GB, free: 12.38 MB / 0.5578 GB Notification: Performance of remove unused functions: time 0.001773/1.113, allocations: 357.9 kB / 0.6908 GB, free: 12.05 MB / 0.5578 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load[1,1].controller.y,load[1,2].controller.y,load[2,1].controller.y,load[2,2].controller.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,75.5%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005611/1.118, allocations: 2.653 MB / 0.6934 GB, free: 9.832 MB / 0.5578 GB Notification: Performance of simCode: created initialization part: time 0.003815/1.122, allocations: 1.384 MB / 0.6948 GB, free: 8.754 MB / 0.5578 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.122, allocations: 0 / 0.6948 GB, free: 8.754 MB / 0.5578 GB Notification: Performance of simCode: created simulation system equations: time 0.002412/1.125, allocations: 0.87 MB / 0.6956 GB, free: 8.078 MB / 0.5578 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/1.125, allocations: 60.72 kB / 0.6957 GB, free: 8.043 MB / 0.5578 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005722/1.131, allocations: 2.158 MB / 0.6978 GB, free: 6.18 MB / 0.5578 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.132, allocations: 1.359 MB / 0.6991 GB, free: 4.906 MB / 0.5578 GB Notification: Performance of simCode: alias equations: time 0.0008582/1.133, allocations: 236.6 kB / 0.6994 GB, free: 4.676 MB / 0.5578 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/1.134, allocations: 299 kB / 0.6996 GB, free: 4.617 MB / 0.5578 GB Notification: Performance of SimCode: time 1.083e-06/1.134, allocations: 0 / 0.6996 GB, free: 4.617 MB / 0.5578 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06405/1.198, allocations: 18.03 MB / 0.7172 GB, free: 2.703 MB / 0.5734 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004604/1.198, allocations: 238 kB / 0.7175 GB, free: 2.465 MB / 0.5734 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/3.991, allocations: 3.906 kB / 0.7175 GB, free: 2.461 MB / 0.5734 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Electrical.DistributionSystemAC.Verification.DistributionSystemLinear_N_2_M_2_res.mat does not exist to compare? outputFormat=mat