Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.093e-05, allocations: 4 kB / 269.5 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09779, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.6069, allocations: 89.34 MB / 406.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.6073, allocations: 85.58 kB / 406.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.019/1.626, allocations: 218.3 MB / 0.6101 GB, free: 66.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.626, allocations: 0 / 0.6101 GB, free: 66.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004414/1.627, allocations: 139.9 kB / 0.6103 GB, free: 65.93 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.035/1.662, allocations: 6.175 MB / 0.6163 GB, free: 59.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/1.662, allocations: 12.03 kB / 0.6163 GB, free: 59.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006092/1.668, allocations: 1.116 MB / 0.6174 GB, free: 58.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04479/1.713, allocations: 3.519 MB / 0.6208 GB, free: 55.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/1.726, allocations: 3.947 MB / 0.6247 GB, free: 51.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007448/1.726, allocations: 0.4995 MB / 0.6252 GB, free: 50.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/1.729, allocations: 0.6301 MB / 0.6258 GB, free: 50.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/1.76, allocations: 10.71 MB / 0.6362 GB, free: 39.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/1.761, allocations: 8 kB / 0.6362 GB, free: 39.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/1.762, allocations: 275.4 kB / 0.6365 GB, free: 38.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/1.763, allocations: 473.8 kB / 0.637 GB, free: 38.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02554/1.788, allocations: 9.513 MB / 0.6462 GB, free: 28.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3918/2.18, allocations: 33.55 MB / 0.679 GB, free: 61.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02124/2.201, allocations: 13.28 MB / 0.692 GB, free: 53.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01116/2.213, allocations: 4.77 MB / 0.6966 GB, free: 53.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03827/2.251, allocations: 15.18 MB / 0.7115 GB, free: 51.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/2.251, allocations: 71.06 kB / 0.7115 GB, free: 51.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=480): time 1.67e-05/2.251, allocations: 0 / 0.7115 GB, free: 51.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=480): time 0.01856/2.27, allocations: 7.787 MB / 0.7191 GB, free: 51.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/2.27, allocations: 126.5 kB / 0.7193 GB, free: 51.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/2.273, allocations: 1.539 MB / 0.7208 GB, free: 50.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009682/2.274, allocations: 85.36 kB / 0.7208 GB, free: 50.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001692/2.276, allocations: 2.43 MB / 0.7232 GB, free: 49.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002473/2.278, allocations: 1.581 MB / 0.7248 GB, free: 48.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007182/2.279, allocations: 89.06 kB / 0.7248 GB, free: 48.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000483/2.28, allocations: 0.5157 MB / 0.7253 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007266/2.287, allocations: 3.079 MB / 0.7284 GB, free: 48.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008907/2.296, allocations: 4.101 MB / 0.7324 GB, free: 47.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008721/2.305, allocations: 3.751 MB / 0.736 GB, free: 46.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.587e-05/2.305, allocations: 7.406 kB / 0.736 GB, free: 46.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=674) (initialization): time 0.0234/2.328, allocations: 9.227 MB / 0.745 GB, free: 43.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/2.328, allocations: 22.05 kB / 0.7451 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-05/2.328, allocations: 28.03 kB / 0.7451 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00746/2.336, allocations: 2.701 MB / 0.7477 GB, free: 42.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006289/2.342, allocations: 0.7547 MB / 0.7485 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/2.355, allocations: 9.655 MB / 0.7579 GB, free: 35.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/2.361, allocations: 0.498 MB / 0.7584 GB, free: 35.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/2.362, allocations: 217.5 kB / 0.7586 GB, free: 35.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (432): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001116/2.363, allocations: 346.6 kB / 0.7589 GB, free: 35.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009645/2.364, allocations: 266.2 kB / 0.7592 GB, free: 34.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/2.385, allocations: 8.554 MB / 0.7675 GB, free: 31.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002471/2.385, allocations: 143.7 kB / 0.7677 GB, free: 31.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/2.385, allocations: 3.781 kB / 0.7677 GB, free: 31.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.537e-05/2.385, allocations: 15.94 kB / 0.7677 GB, free: 31.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/2.401, allocations: 7.052 MB / 0.7746 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/2.401, allocations: 3.656 kB / 0.7746 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0041/2.406, allocations: 429 kB / 0.775 GB, free: 28.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007262/2.413, allocations: 2.661 MB / 0.7776 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000983/2.414, allocations: 104.2 kB / 0.7777 GB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/2.427, allocations: 9.592 MB / 0.787 GB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.427, allocations: 0 / 0.787 GB, free: 19.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02786/2.455, allocations: 12.63 MB / 0.7994 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/2.456, allocations: 438.9 kB / 0.7998 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/2.457, allocations: 60 kB / 0.7999 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004391/2.462, allocations: 133.7 kB / 0.8 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002127/2.464, allocations: 362.3 kB / 0.8003 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008822/2.465, allocations: 130.2 kB / 0.8004 GB, free: 7.402 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003613/2.469, allocations: 1.125 MB / 0.8015 GB, free: 6.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.469, allocations: 2.734 kB / 0.8016 GB, free: 6.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00751/2.476, allocations: 1.583 MB / 0.8031 GB, free: 4.824 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor2_1.pin_p.reference.gamma,currentSensorN.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 6 {6 9,6 9,6 51,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.03924/2.515, allocations: 13.82 MB / 0.8166 GB, free: 9.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02135/2.537, allocations: 7.445 MB / 0.8239 GB, free: 3.402 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/2.537, allocations: 0 / 0.8239 GB, free: 3.402 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01159/2.548, allocations: 3.747 MB / 0.8275 GB, free: 108 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006421/2.555, allocations: 0.529 MB / 0.828 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04171/2.597, allocations: 13.69 MB / 0.8414 GB, free: 4.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007326/2.604, allocations: 4.409 MB / 0.8457 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005074/2.609, allocations: 0.8729 MB / 0.8466 GB, free: 224 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3177/2.927, allocations: 2.556 MB / 0.8491 GB, free: 101.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/2.927, allocations: 3.344 kB / 0.8491 GB, free: 101.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2602/3.187, allocations: 107.1 MB / 0.9537 GB, free: 56.36 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002897/3.188, allocations: 202.6 kB / 0.9539 GB, free: 56.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.16/8.348, allocations: 64 / 0.9539 GB, free: 56.14 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat