Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.76/1.76, allocations: 171.3 MB / 178.4 MB, free: 152 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.119e-05, allocations: 4 kB / 219.6 MB, free: 6.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2567, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.3947, allocations: 78.27 MB / 336.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.3951, allocations: 83.95 kB / 336.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5026/0.8977, allocations: 56.54 MB / 393.2 MB, free: 76.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.8978, allocations: 0 / 393.2 MB, free: 76.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002401/0.898, allocations: 49.16 kB / 393.3 MB, free: 76.36 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.008736/0.9068, allocations: 1.838 MB / 395.1 MB, free: 75.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.911e-05/0.9069, allocations: 10.78 kB / 395.1 MB, free: 75.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.909, allocations: 250.2 kB / 395.4 MB, free: 75.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/0.9145, allocations: 1.3 MB / 396.7 MB, free: 74.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.9147, allocations: 57.62 kB / 396.7 MB, free: 74.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008552/0.9156, allocations: 111.9 kB / 396.8 MB, free: 74.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007834/0.9234, allocations: 1.781 MB / 398.6 MB, free: 73.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008908/0.9324, allocations: 2.173 MB / 400.8 MB, free: 72.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.076e-05/0.9325, allocations: 0 / 400.8 MB, free: 72.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003403/0.9329, allocations: 4 kB / 400.8 MB, free: 72.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/0.9331, allocations: 95.58 kB / 400.9 MB, free: 72.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.9506, allocations: 6.55 MB / 407.4 MB, free: 65.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.9532, allocations: 2.068 MB / 409.5 MB, free: 63.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.9548, allocations: 0.7624 MB / 410.3 MB, free: 62.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.9552, allocations: 132.9 kB / 410.4 MB, free: 62.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.9553, allocations: 47.28 kB / 410.5 MB, free: 62.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 3.557e-06/0.9553, allocations: 3.938 kB / 410.5 MB, free: 62.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=88): time 0.006797/0.9621, allocations: 2.582 MB / 413 MB, free: 60.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.9622, allocations: 85.89 kB / 413.1 MB, free: 59.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.9639, allocations: 0.8561 MB / 414 MB, free: 59.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.9641, allocations: 25.7 kB / 414 MB, free: 59.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.9646, allocations: 0.8138 MB / 414.8 MB, free: 58.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.9649, allocations: 295.6 kB / 415.1 MB, free: 57.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.892e-05/0.965, allocations: 0 / 415.1 MB, free: 57.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.9651, allocations: 341.9 kB / 415.4 MB, free: 57.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.966, allocations: 446.4 kB / 415.9 MB, free: 57.2 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009608/0.9669, allocations: 0.6031 MB / 416.5 MB, free: 56.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.968, allocations: 0.551 MB / 417 MB, free: 55.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.9681, allocations: 4 kB / 417 MB, free: 55.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002848/0.9709, allocations: 1.261 MB / 418.3 MB, free: 54.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.971, allocations: 4 kB / 418.3 MB, free: 54.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.971, allocations: 8 kB / 418.3 MB, free: 54.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.9716, allocations: 112.8 kB / 418.4 MB, free: 54.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.9734, allocations: 239.7 kB / 418.7 MB, free: 54.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/0.9758, allocations: 2.036 MB / 420.7 MB, free: 52.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.977, allocations: 23.89 kB / 420.7 MB, free: 52.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.9772, allocations: 31.94 kB / 420.7 MB, free: 52.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002358/0.9774, allocations: 124.5 kB / 420.9 MB, free: 52.02 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002426/0.9799, allocations: 1.05 MB / 421.9 MB, free: 50.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.9803, allocations: 106.8 kB / 422 MB, free: 50.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.9828, allocations: 1.117 MB / 423.1 MB, free: 49.72 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.9828, allocations: 8 kB / 423.1 MB, free: 49.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9828, allocations: 4 kB / 423.1 MB, free: 49.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.9829, allocations: 7.984 kB / 423.2 MB, free: 49.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/0.9896, allocations: 2.816 MB / 426 MB, free: 46.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.9897, allocations: 0 / 426 MB, free: 46.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.9911, allocations: 179.8 kB / 426.1 MB, free: 46.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/0.9917, allocations: 108.8 kB / 426.3 MB, free: 46.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/0.9918, allocations: 0 / 426.3 MB, free: 46.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002968/0.9948, allocations: 3.264 MB / 429.5 MB, free: 43.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.9948, allocations: 3.984 kB / 429.5 MB, free: 43.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.9983, allocations: 1.795 MB / 431.3 MB, free: 41.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/0.9992, allocations: 296 kB / 431.6 MB, free: 40.95 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/0.9996, allocations: 4 kB / 431.6 MB, free: 40.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.001, allocations: 43.97 kB / 431.7 MB, free: 40.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/1.001, allocations: 60.69 kB / 431.7 MB, free: 40.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/1.001, allocations: 24 kB / 431.7 MB, free: 40.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001217/1.002, allocations: 0.667 MB / 432.4 MB, free: 40.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.002, allocations: 0 / 432.4 MB, free: 40.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001654/1.004, allocations: 319.9 kB / 432.7 MB, free: 39.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003714/1.008, allocations: 2.436 MB / 435.1 MB, free: 37.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/1.01, allocations: 1.166 MB / 436.3 MB, free: 36.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.01, allocations: 0 / 436.3 MB, free: 36.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001291/1.011, allocations: 0.6552 MB / 437 MB, free: 35.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/1.013, allocations: 223 kB / 437.2 MB, free: 35.33 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/1.021, allocations: 3.132 MB / 440.3 MB, free: 32.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/1.023, allocations: 1.762 MB / 442.1 MB, free: 30.35 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001357/1.024, allocations: 276.3 kB / 442.4 MB, free: 30.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.025, allocations: 0.5969 MB / 442.9 MB, free: 29.48 MB / 314.7 MB Notification: Performance of SimCode: time 9.51e-07/1.025, allocations: 0 / 442.9 MB, free: 29.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08559/1.111, allocations: 25.82 MB / 468.8 MB, free: 3.656 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/1.111, allocations: 158.2 kB / 468.9 MB, free: 3.465 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/4.412, allocations: 4 kB / 468.9 MB, free: 3.461 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat