Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.963e-05, allocations: 3.625 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1064, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5285/0.6349, allocations: 103.1 MB / 397.4 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.6353, allocations: 83.05 kB / 397.5 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2511/0.8864, allocations: 49.07 MB / 446.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.8865, allocations: 0 / 446.6 MB, free: 9.297 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003226/0.8868, allocations: 59.94 kB / 446.6 MB, free: 9.238 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.0107/0.8976, allocations: 2.342 MB / 449 MB, free: 6.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.8976, allocations: 12.03 kB / 449 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.8998, allocations: 316.6 kB / 449.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006882/0.9067, allocations: 1.664 MB / 451 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.907, allocations: 68 kB / 451 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.908, allocations: 136.3 kB / 451.2 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008398/0.9164, allocations: 2.074 MB / 453.2 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009855/0.9263, allocations: 2.488 MB / 455.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.9265, allocations: 7.906 kB / 455.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005117/0.927, allocations: 3.938 kB / 455.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002039/0.9273, allocations: 100.3 kB / 455.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.9556, allocations: 8.664 MB / 464.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/0.9599, allocations: 1.66 MB / 466.1 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002384/0.9623, allocations: 0.7738 MB / 466.9 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.9629, allocations: 219.5 kB / 467.1 MB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/0.963, allocations: 47.81 kB / 467.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of pre-optimization done (n=109): time 4.619e-06/0.963, allocations: 0 / 467.2 MB, free: 3.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01893/0.9819, allocations: 4.898 MB / 472.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.982, allocations: 64.72 kB / 472.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/0.9851, allocations: 1.105 MB / 473.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003332/0.9855, allocations: 25.7 kB / 473.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.9868, allocations: 1.099 MB / 474.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008273/0.9877, allocations: 445.4 kB / 474.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.9879, allocations: 0 / 474.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.9881, allocations: 373.9 kB / 475.2 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/0.9901, allocations: 0.6872 MB / 475.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.9925, allocations: 1.099 MB / 477 MB, free: 9.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.9952, allocations: 0.8767 MB / 477.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.9953, allocations: 4 kB / 477.8 MB, free: 9.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008564/1.004, allocations: 2.434 MB / 480.3 MB, free: 6.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.774e-05/1.004, allocations: 12 kB / 480.3 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/1.004, allocations: 12 kB / 480.3 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/1.007, allocations: 0.5765 MB / 480.9 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003127/1.01, allocations: 363.5 kB / 481.2 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01473/1.025, allocations: 6.401 MB / 487.6 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/1.027, allocations: 87.78 kB / 487.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/1.028, allocations: 60.06 kB / 487.8 MB, free: 14.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004665/1.028, allocations: 160.2 kB / 487.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007268/1.036, allocations: 2.055 MB / 490 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/1.036, allocations: 158 kB / 490.1 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007854/1.044, allocations: 2.206 MB / 492.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/1.044, allocations: 20 kB / 492.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.044, allocations: 4 kB / 492.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/1.044, allocations: 11.91 kB / 492.4 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.06, allocations: 4.495 MB / 496.9 MB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/1.06, allocations: 4.344 kB / 496.9 MB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002309/1.063, allocations: 219.7 kB / 497.1 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00363/1.066, allocations: 0.6351 MB / 497.7 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/1.067, allocations: 19.98 kB / 497.7 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3033/1.37, allocations: 8.071 MB / 0.494 GB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/1.37, allocations: 3.125 kB / 0.494 GB, free: 96.61 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008918/1.379, allocations: 3.421 MB / 0.4973 GB, free: 96.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.381, allocations: 395.1 kB / 0.4977 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004847/1.381, allocations: 10.77 kB / 0.4977 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.383, allocations: 75.97 kB / 0.4978 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/1.384, allocations: 106.5 kB / 0.4979 GB, free: 96.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/1.384, allocations: 39.06 kB / 0.4979 GB, free: 96.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002052/1.386, allocations: 0.8316 MB / 0.4987 GB, free: 95.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.386, allocations: 0 / 0.4987 GB, free: 95.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003168/1.389, allocations: 485.7 kB / 0.4992 GB, free: 95.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * 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%) 23,(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.01037/1.399, allocations: 4.931 MB / 0.504 GB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006069/1.405, allocations: 2.226 MB / 0.5062 GB, free: 93.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.406, allocations: 5.844 kB / 0.5062 GB, free: 93.81 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004264/1.41, allocations: 1.437 MB / 0.5076 GB, free: 93.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/1.413, allocations: 343.6 kB / 0.5079 GB, free: 93.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/1.426, allocations: 4.314 MB / 0.5121 GB, free: 92.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/1.429, allocations: 1.924 MB / 0.514 GB, free: 91.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002317/1.431, allocations: 371 kB / 0.5144 GB, free: 91.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/1.433, allocations: 0.8701 MB / 0.5152 GB, free: 91.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.253e-06/1.433, allocations: 0 / 0.5152 GB, free: 91.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.563, allocations: 40.54 MB / 0.5548 GB, free: 79.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002866/1.563, allocations: 182.7 kB / 0.555 GB, free: 78.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.747/6.31, allocations: 0 / 0.555 GB, free: 78.86 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.SMPM_Inverter_res.mat does not exist to compare? outputFormat=mat