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"}) Notification: Performance of loadModel(ScalableTestSuite): time 2.917/2.917, allocations: 326.3 MB / 339.3 MB, free: 11.26 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.092e-05, allocations: 4 kB / 422.3 MB, free: 0.5508 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 79.99 MB / 0.4905 GB, free: 456 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5952/0.7461, allocations: 126.8 MB / 0.6144 GB, free: 9.613 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.7464, allocations: 62.53 kB / 0.6144 GB, free: 9.582 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.5435/1.29, allocations: 132.7 MB / 0.744 GB, free: 5.711 MB / 0.6046 GB Notification: Performance of FrontEnd: time 4.438e-06/1.29, allocations: 4 kB / 0.744 GB, free: 5.707 MB / 0.6046 GB Notification: Performance of Transformations before backend: time 0.001074/1.291, allocations: 231.9 kB / 0.7442 GB, free: 5.48 MB / 0.6046 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.03965/1.331, allocations: 10.24 MB / 0.7542 GB, free: 11.7 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.331, allocations: 8.031 kB / 0.7542 GB, free: 11.7 MB / 0.6203 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003362/1.334, allocations: 1.165 MB / 0.7554 GB, free: 11.03 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/1.338, allocations: 1.031 MB / 0.7564 GB, free: 9.988 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01804/1.357, allocations: 5.247 MB / 0.7615 GB, free: 5.328 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006928/1.357, allocations: 0.5998 MB / 0.7621 GB, free: 4.984 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/1.36, allocations: 0.7754 MB / 0.7628 GB, free: 4.469 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/1.394, allocations: 12.17 MB / 0.7747 GB, free: 11.23 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002161/1.394, allocations: 7.938 kB / 0.7747 GB, free: 11.22 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/1.396, allocations: 369.4 kB / 0.7751 GB, free: 11.13 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/1.396, allocations: 196 kB / 0.7753 GB, free: 10.94 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03477/1.431, allocations: 12.41 MB / 0.7874 GB, free: 15.7 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5345/1.965, allocations: 39.31 MB / 0.8258 GB, free: 135.4 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01933/1.985, allocations: 11.02 MB / 0.8365 GB, free: 135.2 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009564/1.994, allocations: 5.21 MB / 0.8416 GB, free: 135.1 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/1.995, allocations: 67.58 kB / 0.8417 GB, free: 135.1 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/1.995, allocations: 152.7 kB / 0.8418 GB, free: 135 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=630): time 1.012e-05/1.995, allocations: 0 / 0.8418 GB, free: 135 MB / 0.6515 GB Notification: Performance of matching and sorting (n=630): time 0.02816/2.023, allocations: 11.96 MB / 0.8535 GB, free: 134.3 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/2.023, allocations: 115.5 kB / 0.8536 GB, free: 134.2 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01566/2.039, allocations: 7.951 MB / 0.8614 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/2.04, allocations: 168.1 kB / 0.8615 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.003082/2.044, allocations: 3.692 MB / 0.8651 GB, free: 132.7 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.002462/2.046, allocations: 2.13 MB / 0.8672 GB, free: 131.6 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009996/2.047, allocations: 145.7 kB / 0.8674 GB, free: 131.6 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0004282/2.047, allocations: 0.6364 MB / 0.868 GB, free: 131.3 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/2.058, allocations: 4.992 MB / 0.8729 GB, free: 131.2 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/2.069, allocations: 6.012 MB / 0.8787 GB, free: 129.1 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.081, allocations: 6.084 MB / 0.8847 GB, free: 127.8 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/2.082, allocations: 7.875 kB / 0.8847 GB, free: 127.8 MB / 0.6515 GB Notification: Performance of matching and sorting (n=941) (initialization): time 0.03906/2.121, allocations: 16.58 MB / 0.9009 GB, free: 123.6 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/2.121, allocations: 21.42 kB / 0.9009 GB, free: 123.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/2.121, allocations: 26.11 kB / 0.9009 GB, free: 123.6 MB / 0.6515 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 9.941e-05/2.121, allocations: 45.56 kB / 0.901 GB, free: 123.6 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008657/2.13, allocations: 1.119 MB / 0.9021 GB, free: 123.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.656e-05/2.13, allocations: 62.72 kB / 0.9021 GB, free: 123.5 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/2.142, allocations: 1.604 MB / 0.9037 GB, free: 122.9 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/2.143, allocations: 238.1 kB / 0.9039 GB, free: 122.9 MB / 0.6515 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 () * 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.001743/2.145, allocations: 476.4 kB / 0.9044 GB, free: 122.5 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002475/2.148, allocations: 0.725 MB / 0.9051 GB, free: 122.2 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/2.15, allocations: 1.126 MB / 0.9062 GB, free: 121.4 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/2.15, allocations: 61.94 kB / 0.9062 GB, free: 121.4 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001402/2.15, allocations: 58.03 kB / 0.9063 GB, free: 121.4 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.369e-05/2.151, allocations: 31.94 kB / 0.9063 GB, free: 121.4 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/2.167, allocations: 7.987 MB / 0.9141 GB, free: 119.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/2.167, allocations: 0 / 0.9141 GB, free: 119.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003339/2.17, allocations: 483.6 kB / 0.9146 GB, free: 119.1 MB / 0.6515 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.394e-05/2.17, allocations: 7.906 kB / 0.9146 GB, free: 119.1 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005506/2.171, allocations: 95.62 kB / 0.9147 GB, free: 119 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.451e-05/2.171, allocations: 7.922 kB / 0.9147 GB, free: 119 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.171, allocations: 5.094 kB / 0.9147 GB, free: 119 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/2.199, allocations: 12.38 MB / 0.9268 GB, free: 109.3 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004126/2.203, allocations: 1.207 MB / 0.928 GB, free: 108.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002497/2.206, allocations: 104 kB / 0.9281 GB, free: 108 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01569/2.221, allocations: 2.082 MB / 0.9301 GB, free: 106.7 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/2.223, allocations: 0.6413 MB / 0.9307 GB, free: 106.4 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008892/2.224, allocations: 183.8 kB / 0.9309 GB, free: 106.2 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.01234/2.236, allocations: 5.909 MB / 0.9367 GB, free: 101 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.022e-06/2.236, allocations: 0 / 0.9367 GB, free: 101 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.008883/2.245, allocations: 2.768 MB / 0.9394 GB, free: 98.26 MB / 0.6515 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 (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.0293/2.275, allocations: 13.18 MB / 0.9522 GB, free: 86.9 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.02345/2.298, allocations: 10.64 MB / 0.9626 GB, free: 77.64 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-05/2.298, allocations: 18 kB / 0.9626 GB, free: 77.62 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/2.309, allocations: 4.892 MB / 0.9674 GB, free: 73.42 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01159/2.321, allocations: 1.772 MB / 0.9692 GB, free: 72.04 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04435/2.365, allocations: 20.16 MB / 0.9888 GB, free: 54.79 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006688/2.372, allocations: 6.11 MB / 0.9948 GB, free: 50.3 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.01195/2.384, allocations: 3.159 MB / 0.9979 GB, free: 47.5 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005956/2.39, allocations: 2.944 MB / 1.001 GB, free: 44.56 MB / 0.6515 GB Notification: Performance of SimCode: time 1.142e-06/2.39, allocations: 0 / 1.001 GB, free: 44.56 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7983/3.189, allocations: 184.5 MB / 1.181 GB, free: 86.13 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/3.189, allocations: 240.1 kB / 1.181 GB, free: 85.81 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.962/10.15, allocations: 0 / 1.181 GB, free: 85.81 MB / 0.6515 GB 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