Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMR_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.216/2.216, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.215e-05/5.222e-05, allocations: 7.797 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.143, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4881/0.6312, allocations: 107.9 MB / 451 MB, free: 2.742 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.6316, allocations: 89.75 kB / 451.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2237/0.8553, allocations: 50.48 MB / 0.4898 GB, free: 3.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8554, allocations: 0 / 0.4898 GB, free: 3.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003305/0.8557, allocations: 63.94 kB / 0.4899 GB, free: 3.883 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.01011/0.8658, allocations: 2.51 MB / 0.4923 GB, free: 1.312 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.8659, allocations: 8.031 kB / 0.4924 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001568/0.8675, allocations: 349.4 kB / 0.4927 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.8698, allocations: 328.3 kB / 0.493 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00653/0.8764, allocations: 1.775 MB / 0.4947 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.8767, allocations: 180.6 kB / 0.4949 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007084/0.8774, allocations: 232.6 kB / 0.4951 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00922/0.8866, allocations: 3.008 MB / 0.4981 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.8868, allocations: 11.89 kB / 0.4981 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/0.8873, allocations: 96 kB / 0.4982 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.8874, allocations: 104.5 kB / 0.4983 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008892/0.8963, allocations: 2.426 MB / 0.5006 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.9257, allocations: 9.759 MB / 0.5102 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/0.9307, allocations: 2.135 MB / 0.5123 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/0.9336, allocations: 0.9294 MB / 0.5132 GB, free: 11.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006021/0.9343, allocations: 219.1 kB / 0.5134 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.9343, allocations: 51.56 kB / 0.5134 GB, free: 11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 5.08e-06/0.9343, allocations: 3.938 kB / 0.5134 GB, free: 11 MB / 442.7 MB Notification: Performance of matching and sorting (n=141): time 0.02822/0.9626, allocations: 6.485 MB / 0.5198 GB, free: 4.453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.9627, allocations: 72.72 kB / 0.5198 GB, free: 4.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004322/0.967, allocations: 1.508 MB / 0.5213 GB, free: 2.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004024/0.9675, allocations: 49.7 kB / 0.5213 GB, free: 2.809 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.9689, allocations: 1.132 MB / 0.5225 GB, free: 1.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009779/0.9699, allocations: 492.9 kB / 0.5229 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/0.9701, allocations: 28 kB / 0.5229 GB, free: 1.145 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.9704, allocations: 369.8 kB / 0.5233 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2988/1.269, allocations: 0.7989 MB / 0.5241 GB, free: 113.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003391/1.273, allocations: 1.167 MB / 0.5252 GB, free: 112.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003719/1.276, allocations: 0.9787 MB / 0.5262 GB, free: 112.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/1.276, allocations: 3.469 kB / 0.5262 GB, free: 112.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.008997/1.286, allocations: 2.693 MB / 0.5288 GB, free: 112.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/1.286, allocations: 11.69 kB / 0.5288 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.581e-05/1.286, allocations: 14.72 kB / 0.5288 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/1.288, allocations: 0.5761 MB / 0.5294 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/1.292, allocations: 368.3 kB / 0.5297 GB, free: 112.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.304, allocations: 6.316 MB / 0.5359 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/1.307, allocations: 114.5 kB / 0.536 GB, free: 110.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004837/1.307, allocations: 65.27 kB / 0.5361 GB, free: 110.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * 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.0004929/1.308, allocations: 201.2 kB / 0.5363 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006739/1.309, allocations: 188.1 kB / 0.5365 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008228/1.317, allocations: 2.517 MB / 0.5389 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/1.317, allocations: 15.53 kB / 0.5389 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/1.317, allocations: 9.828 kB / 0.5389 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-05/1.317, allocations: 10.3 kB / 0.539 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.334, allocations: 5.261 MB / 0.5441 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.334, allocations: 2.5 kB / 0.5441 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/1.336, allocations: 238.3 kB / 0.5443 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/1.339, allocations: 0.6342 MB / 0.5449 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003367/1.339, allocations: 38.67 kB / 0.545 GB, free: 109.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/1.352, allocations: 8.044 MB / 0.5528 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.353, allocations: 10.45 kB / 0.5528 GB, free: 105.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008968/1.361, allocations: 3.819 MB / 0.5566 GB, free: 103.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.363, allocations: 451.6 kB / 0.557 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007596/1.364, allocations: 29.72 kB / 0.557 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.366, allocations: 104.4 kB / 0.5571 GB, free: 103.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006663/1.367, allocations: 133.5 kB / 0.5573 GB, free: 103.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.367, allocations: 39.53 kB / 0.5573 GB, free: 103.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002856/1.37, allocations: 1.159 MB / 0.5584 GB, free: 102.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.37, allocations: 0 / 0.5584 GB, free: 102.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003197/1.374, allocations: 0.569 MB / 0.559 GB, free: 102.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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,75.0%) 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.01009/1.384, allocations: 5.262 MB / 0.5641 GB, free: 99.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006733/1.39, allocations: 2.427 MB / 0.5665 GB, free: 98.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.391, allocations: 3.656 kB / 0.5665 GB, free: 98.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004463/1.395, allocations: 1.59 MB / 0.568 GB, free: 98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.399, allocations: 443.1 kB / 0.5685 GB, free: 97.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.414, allocations: 4.812 MB / 0.5732 GB, free: 95.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.417, allocations: 2.067 MB / 0.5752 GB, free: 95.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002526/1.419, allocations: 430.6 kB / 0.5756 GB, free: 94.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/1.422, allocations: 0.9204 MB / 0.5765 GB, free: 94.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/1.422, allocations: 9.297 kB / 0.5765 GB, free: 94.23 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/1.551, allocations: 49.8 MB / 0.6251 GB, free: 62.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.551, allocations: 187.9 kB / 0.6253 GB, free: 61.94 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/5.841, allocations: 0 / 0.6253 GB, free: 61.94 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat does not exist to compare? outputFormat=mat