Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_CurrentSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.805e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09297, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4382/0.5312, allocations: 105 MB / 405 MB, free: 10.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.5315, allocations: 80.95 kB / 405.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2153/0.7469, allocations: 52.86 MB / 457.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.747, allocations: 0 / 457.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003063/0.7473, allocations: 71.88 kB / 458 MB, free: 10.05 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.009566/0.7569, allocations: 2.57 MB / 460.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.7569, allocations: 12.03 kB / 460.6 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001328/0.7583, allocations: 364 kB / 460.9 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001567/0.7599, allocations: 348.1 kB / 461.3 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006718/0.7666, allocations: 1.9 MB / 463.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/0.7669, allocations: 189 kB / 463.4 MB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009142/0.7678, allocations: 248 kB / 463.6 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009398/0.7773, allocations: 3.153 MB / 466.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.7774, allocations: 11.89 kB / 466.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004325/0.7779, allocations: 108 kB / 466.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/0.7781, allocations: 112.9 kB / 467 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008964/0.7871, allocations: 2.474 MB / 469.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02826/0.8154, allocations: 10.45 MB / 479.9 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003303/0.8187, allocations: 1.396 MB / 481.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001902/0.8207, allocations: 0.7457 MB / 482.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.8212, allocations: 219.1 kB / 482.3 MB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.8213, allocations: 43.56 kB / 482.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=102): time 3.847e-06/0.8213, allocations: 0 / 482.3 MB, free: 1.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.02438/0.8457, allocations: 6.135 MB / 488.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.8458, allocations: 64.72 kB / 488.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/0.8497, allocations: 1.53 MB / 490 MB, free: 9.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003445/0.8501, allocations: 49.7 kB / 490.1 MB, free: 9.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001312/0.8514, allocations: 1.256 MB / 491.4 MB, free: 8.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007037/0.8521, allocations: 453.5 kB / 491.8 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.8523, allocations: 32 kB / 491.8 MB, free: 7.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.8525, allocations: 377.9 kB / 492.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.8546, allocations: 0.7654 MB / 493 MB, free: 6.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.8571, allocations: 1.281 MB / 494.2 MB, free: 5.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.8597, allocations: 0.9964 MB / 495.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.8598, allocations: 4 kB / 495.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007207/0.867, allocations: 2.439 MB / 497.7 MB, free: 1.664 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.8671, allocations: 12 kB / 497.7 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/0.8671, allocations: 20.09 kB / 497.7 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.8682, allocations: 239.3 kB / 497.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.8717, allocations: 435.3 kB / 498.4 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.8757, allocations: 2.99 MB / 0.4896 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/0.8785, allocations: 135.7 kB / 0.4897 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003341/0.8789, allocations: 75.92 kB / 0.4898 GB, free: 13.49 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004831/0.8794, allocations: 204.7 kB / 0.49 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/0.88, allocations: 181.8 kB / 0.4902 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005763/0.8857, allocations: 2.093 MB / 0.4922 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.8858, allocations: 12 kB / 0.4922 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.8858, allocations: 4 kB / 0.4922 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.8859, allocations: 3.984 kB / 0.4922 GB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.8995, allocations: 4.807 MB / 0.4969 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.8996, allocations: 3.984 kB / 0.4969 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/0.902, allocations: 283.5 kB / 0.4972 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009368/0.903, allocations: 203.5 kB / 0.4974 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.9031, allocations: 28 kB / 0.4974 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003533/0.9067, allocations: 2.959 MB / 0.5003 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9067, allocations: 0 / 0.5003 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008015/0.9147, allocations: 3.346 MB / 0.5036 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.9164, allocations: 446.5 kB / 0.504 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/0.9168, allocations: 28 kB / 0.504 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.9186, allocations: 95.94 kB / 0.5041 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.9189, allocations: 76.83 kB / 0.5042 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.919, allocations: 43.98 kB / 0.5042 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002864/0.9219, allocations: 1.161 MB / 0.5054 GB, free: 13 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.805e-06/0.9219, allocations: 0 / 0.5054 GB, free: 13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002897/0.9249, allocations: 0.5273 MB / 0.5059 GB, free: 12.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009111/0.934, allocations: 4.798 MB / 0.5106 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005724/0.9398, allocations: 2.309 MB / 0.5128 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.9398, allocations: 4 kB / 0.5128 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003174/0.943, allocations: 1.333 MB / 0.5141 GB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/0.9471, allocations: 445.7 kB / 0.5146 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2785/1.226, allocations: 4.569 MB / 0.519 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/1.229, allocations: 2.066 MB / 0.521 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003069/1.232, allocations: 0.5109 MB / 0.5215 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/1.235, allocations: 0.9973 MB / 0.5225 GB, free: 104.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/1.235, allocations: 0 / 0.5225 GB, free: 104.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.352, allocations: 47.42 MB / 0.5688 GB, free: 98.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.352, allocations: 211.1 kB / 0.569 GB, free: 97.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/5.381, allocations: 3.188 kB / 0.569 GB, free: 97.82 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat does not exist to compare? outputFormat=mat