Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.685e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 38.77 MB / 263.9 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.4309, allocations: 94.13 MB / 358 MB, free: 11.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.4313, allocations: 79.95 kB / 358.1 MB, free: 11.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4266/0.8579, allocations: 44.41 MB / 402.5 MB, free: 71.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.858, allocations: 0 / 402.5 MB, free: 71.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002444/0.8582, allocations: 55.94 kB / 402.6 MB, free: 71.67 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.007924/0.8662, allocations: 2.185 MB / 404.7 MB, free: 69.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.8662, allocations: 12.02 kB / 404.8 MB, free: 69.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001104/0.8673, allocations: 291.2 kB / 405 MB, free: 69.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.8689, allocations: 288.9 kB / 405.3 MB, free: 68.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004707/0.8737, allocations: 1.499 MB / 406.8 MB, free: 67.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.874, allocations: 152 kB / 407 MB, free: 67.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008838/0.8749, allocations: 208 kB / 407.2 MB, free: 66.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007474/0.8823, allocations: 2.593 MB / 409.8 MB, free: 64.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.8825, allocations: 7.906 kB / 409.8 MB, free: 64.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.8829, allocations: 84 kB / 409.9 MB, free: 64.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.883, allocations: 87.89 kB / 409.9 MB, free: 64.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006508/0.8895, allocations: 2.085 MB / 412 MB, free: 61.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02207/0.9117, allocations: 8.391 MB / 420.4 MB, free: 53.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.9149, allocations: 1.762 MB / 422.2 MB, free: 51.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.9175, allocations: 0.9684 MB / 423.1 MB, free: 50.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004304/0.918, allocations: 130.1 kB / 423.3 MB, free: 50.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.918, allocations: 47.56 kB / 423.3 MB, free: 50.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 4.438e-06/0.918, allocations: 0 / 423.3 MB, free: 50.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01895/0.937, allocations: 5.239 MB / 428.6 MB, free: 45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.9371, allocations: 64.41 kB / 428.6 MB, free: 44.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.9399, allocations: 1.281 MB / 429.9 MB, free: 43.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003116/0.9403, allocations: 53.64 kB / 430 MB, free: 43.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008139/0.9411, allocations: 0.968 MB / 430.9 MB, free: 42.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005818/0.9418, allocations: 425.8 kB / 431.3 MB, free: 42.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.9419, allocations: 28 kB / 431.4 MB, free: 42.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9421, allocations: 357.9 kB / 431.7 MB, free: 41.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.9438, allocations: 0.6989 MB / 432.4 MB, free: 41.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.9458, allocations: 0.9916 MB / 433.4 MB, free: 39.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.948, allocations: 0.8481 MB / 434.3 MB, free: 39.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.9481, allocations: 3.984 kB / 434.3 MB, free: 39.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006106/0.9542, allocations: 2.24 MB / 436.5 MB, free: 36.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.9543, allocations: 11.95 kB / 436.5 MB, free: 36.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.9543, allocations: 8 kB / 436.5 MB, free: 36.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001555/0.9559, allocations: 411.4 kB / 436.9 MB, free: 36.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/0.9586, allocations: 339.5 kB / 437.2 MB, free: 36.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006503/0.9651, allocations: 4.629 MB / 441.9 MB, free: 31.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/0.9673, allocations: 91.91 kB / 442 MB, free: 31.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003625/0.9677, allocations: 48 kB / 442 MB, free: 31.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (156): * Single equations (assignments): 152 * 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%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004057/0.9682, allocations: 197.8 kB / 442.2 MB, free: 30.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005364/0.9687, allocations: 166 kB / 442.4 MB, free: 30.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00565/0.9744, allocations: 2.09 MB / 444.5 MB, free: 28.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.97e-05/0.9745, allocations: 12 kB / 444.5 MB, free: 28.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.9745, allocations: 4 kB / 444.5 MB, free: 28.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/0.9745, allocations: 11.92 kB / 444.5 MB, free: 28.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.9873, allocations: 4.5 MB / 449 MB, free: 23.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/0.9874, allocations: 4 kB / 449 MB, free: 23.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.9895, allocations: 235.6 kB / 449.2 MB, free: 23.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.9916, allocations: 471.5 kB / 449.7 MB, free: 23.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/0.992, allocations: 35.98 kB / 449.7 MB, free: 23.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00811/1, allocations: 6.16 MB / 455.9 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1, allocations: 7.938 kB / 455.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00744/1.008, allocations: 3.281 MB / 459.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.009, allocations: 410.9 kB / 459.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005809/1.01, allocations: 31.98 kB / 459.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.012, allocations: 79.92 kB / 459.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005259/1.012, allocations: 104.8 kB / 459.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.013, allocations: 39.98 kB / 459.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002251/1.015, allocations: 0.9878 MB / 460.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.015, allocations: 0 / 460.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002701/1.018, allocations: 496.1 kB / 461.3 MB, free: 11.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.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 (108): * Single equations (assignments): 104 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008395/1.026, allocations: 4.782 MB / 466.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005089/1.031, allocations: 2.169 MB / 468.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.031, allocations: 3.938 kB / 468.2 MB, free: 3.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003579/1.035, allocations: 1.442 MB / 469.7 MB, free: 2.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.038, allocations: 405.2 kB / 470.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.052, allocations: 4.261 MB / 474.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003339/1.055, allocations: 1.865 MB / 476.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002385/1.058, allocations: 397.4 kB / 476.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002205/1.06, allocations: 0.7727 MB / 477.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/1.06, allocations: 0 / 477.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3913/1.451, allocations: 42.39 MB / 0.5076 GB, free: 94.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/1.452, allocations: 205.3 kB / 0.5078 GB, free: 94.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.928/5.379, allocations: 4 kB / 0.5078 GB, free: 94.68 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat