Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMR_Inverter",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.088e-05, allocations: 3.484 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.0964, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5325/0.6289, allocations: 100.2 MB / 394.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6293, allocations: 88.94 kB / 394.6 MB, free: 1.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2243/0.8536, allocations: 45.31 MB / 439.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.22e-06/0.8537, allocations: 0 / 439.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002785/0.854, allocations: 59.88 kB / 439.9 MB, free: 15.91 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.009152/0.8631, allocations: 2.232 MB / 442.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.8632, allocations: 8.031 kB / 442.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.865, allocations: 292.8 kB / 442.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005988/0.871, allocations: 1.573 MB / 444 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.8712, allocations: 71.94 kB / 444.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006918/0.8719, allocations: 127.9 kB / 444.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006893/0.8788, allocations: 1.996 MB / 446.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008161/0.887, allocations: 2.389 MB / 448.6 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.877e-05/0.8871, allocations: 11.83 kB / 448.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.8874, allocations: 4 kB / 448.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001825/0.8876, allocations: 96.16 kB / 448.7 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/0.9127, allocations: 8.164 MB / 456.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.9169, allocations: 1.646 MB / 458.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.9192, allocations: 0.7598 MB / 459.3 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/0.9198, allocations: 215.4 kB / 459.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.9198, allocations: 43.88 kB / 459.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 4.338e-06/0.9198, allocations: 0 / 459.6 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.01742/0.9373, allocations: 4.74 MB / 464.3 MB, free: 6.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.9374, allocations: 68.72 kB / 464.4 MB, free: 6.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.94, allocations: 1.013 MB / 465.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.9403, allocations: 29.69 kB / 465.4 MB, free: 5.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.9415, allocations: 1.021 MB / 466.4 MB, free: 4.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006533/0.9422, allocations: 425.7 kB / 466.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9423, allocations: 0 / 466.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.9426, allocations: 361.9 kB / 467.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.9445, allocations: 0.6677 MB / 467.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00223/0.9467, allocations: 1.038 MB / 468.9 MB, free: 2.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.9491, allocations: 0.8494 MB / 469.8 MB, free: 1.176 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.9491, allocations: 4 kB / 469.8 MB, free: 1.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007743/0.9569, allocations: 2.349 MB / 472.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.957, allocations: 8 kB / 472.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.082e-05/0.957, allocations: 15.95 kB / 472.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002912/0.9599, allocations: 0.5685 MB / 472.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00291/0.9629, allocations: 339.5 kB / 473 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.9768, allocations: 6.056 MB / 479.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.9792, allocations: 83.88 kB / 479.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.9795, allocations: 56.19 kB / 479.2 MB, free: 7.441 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 155 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004471/0.9799, allocations: 140.3 kB / 479.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006969/0.9869, allocations: 2.012 MB / 481.4 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/0.9876, allocations: 146.2 kB / 481.5 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007542/0.9951, allocations: 2.158 MB / 483.7 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-05/0.9952, allocations: 12 kB / 483.7 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.877e-05/0.9952, allocations: 8 kB / 483.7 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/0.9953, allocations: 3.984 kB / 483.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.011, allocations: 4.331 MB / 488 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.432e-05/1.011, allocations: 3.953 kB / 488 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/1.013, allocations: 215.9 kB / 488.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003614/1.017, allocations: 0.6237 MB / 488.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/1.017, allocations: 15.98 kB / 488.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/1.034, allocations: 7.746 MB / 496.6 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/1.034, allocations: 0 / 496.6 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009973/1.044, allocations: 3.29 MB / 499.9 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.046, allocations: 379.1 kB / 0.4886 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/1.046, allocations: 15.92 kB / 0.4886 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.048, allocations: 79.84 kB / 0.4887 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004997/1.049, allocations: 97.16 kB / 0.4887 GB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/1.049, allocations: 39.98 kB / 0.4888 GB, free: 1.539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002029/1.051, allocations: 0.766 MB / 0.4895 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.42e-07/1.051, allocations: 0 / 0.4895 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003108/1.054, allocations: 459.9 kB / 0.49 GB, free: 328 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2894/1.344, allocations: 4.617 MB / 0.4945 GB, free: 100.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00603/1.35, allocations: 2.172 MB / 0.4966 GB, free: 100.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.35, allocations: 4.031 kB / 0.4966 GB, free: 100.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004134/1.354, allocations: 1.407 MB / 0.498 GB, free: 99.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/1.357, allocations: 287.3 kB / 0.4983 GB, free: 99.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.37, allocations: 4.118 MB / 0.5023 GB, free: 98.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/1.372, allocations: 1.856 MB / 0.5041 GB, free: 98.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002261/1.375, allocations: 347.5 kB / 0.5044 GB, free: 98.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/1.377, allocations: 0.8107 MB / 0.5052 GB, free: 98.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/1.377, allocations: 0 / 0.5052 GB, free: 98.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/1.505, allocations: 37.43 MB / 0.5418 GB, free: 91.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002878/1.506, allocations: 185.4 kB / 0.5419 GB, free: 90.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.431/5.937, allocations: 3.938 kB / 0.5419 GB, free: 90.98 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat does not exist to compare? outputFormat=mat