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.683/1.683, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.208e-05, allocations: 0 / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2826, allocations: 38.77 MB / 263.9 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.4521, allocations: 94.13 MB / 358 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.4525, allocations: 79.95 kB / 358.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3958/0.8484, allocations: 44.41 MB / 402.5 MB, free: 71.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.394e-05/0.8484, allocations: 0 / 402.5 MB, free: 71.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002054/0.8486, allocations: 51.94 kB / 402.5 MB, free: 71.55 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.007232/0.8559, allocations: 2.185 MB / 404.7 MB, free: 69.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.856, allocations: 12.03 kB / 404.7 MB, free: 69.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009058/0.8569, allocations: 291.2 kB / 405 MB, free: 69.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.8582, allocations: 292.9 kB / 405.3 MB, free: 68.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004368/0.8625, allocations: 1.499 MB / 406.8 MB, free: 67.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.8627, allocations: 148 kB / 406.9 MB, free: 67.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006007/0.8634, allocations: 200 kB / 407.1 MB, free: 66.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006626/0.87, allocations: 2.624 MB / 409.8 MB, free: 64.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-05/0.8701, allocations: 7.906 kB / 409.8 MB, free: 64.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/0.8704, allocations: 87.98 kB / 409.9 MB, free: 63.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.8706, allocations: 87.89 kB / 409.9 MB, free: 63.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005603/0.8762, allocations: 2.108 MB / 412 MB, free: 61.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01965/0.8959, allocations: 8.391 MB / 420.4 MB, free: 53.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.8987, allocations: 1.772 MB / 422.2 MB, free: 51.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.901, allocations: 0.9567 MB / 423.2 MB, free: 50.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.9014, allocations: 146 kB / 423.3 MB, free: 50.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9015, allocations: 43.56 kB / 423.4 MB, free: 50.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 3.676e-06/0.9015, allocations: 0 / 423.4 MB, free: 50.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01739/0.9189, allocations: 5.239 MB / 428.6 MB, free: 44.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.919, allocations: 68.41 kB / 428.7 MB, free: 44.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.9216, allocations: 1.281 MB / 429.9 MB, free: 43.44 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.922, allocations: 49.7 kB / 430 MB, free: 43.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/0.9227, allocations: 0.9602 MB / 430.9 MB, free: 42.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.9232, allocations: 425.8 kB / 431.4 MB, free: 41.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.9233, allocations: 32 kB / 431.4 MB, free: 41.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.9234, allocations: 357.9 kB / 431.7 MB, free: 41.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.925, allocations: 0.6989 MB / 432.4 MB, free: 40.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.9267, allocations: 0.9994 MB / 433.4 MB, free: 39.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.9285, allocations: 0.8442 MB / 434.3 MB, free: 38.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.9285, allocations: 0 / 434.3 MB, free: 38.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005445/0.934, allocations: 2.267 MB / 436.6 MB, free: 36.65 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.934, allocations: 11.95 kB / 436.6 MB, free: 36.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9341, allocations: 12.25 kB / 436.6 MB, free: 36.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.9356, allocations: 407.1 kB / 437 MB, free: 36.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/0.9382, allocations: 339.5 kB / 437.3 MB, free: 35.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006185/0.9444, allocations: 4.633 MB / 441.9 MB, free: 30.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.9464, allocations: 95.91 kB / 442 MB, free: 30.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.9466, allocations: 52 kB / 442.1 MB, free: 30.84 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.0003706/0.947, allocations: 190.4 kB / 442.3 MB, free: 30.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.9474, allocations: 166 kB / 442.4 MB, free: 30.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0067/0.9541, allocations: 2.094 MB / 444.5 MB, free: 28.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/0.9541, allocations: 12 kB / 444.5 MB, free: 28.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.9542, allocations: 8 kB / 444.5 MB, free: 28.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-05/0.9542, allocations: 11.92 kB / 444.6 MB, free: 28.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.97, allocations: 4.508 MB / 449.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/0.97, allocations: 8 kB / 449.1 MB, free: 23.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002646/0.9727, allocations: 232.1 kB / 449.3 MB, free: 23.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/0.9756, allocations: 470.8 kB / 449.8 MB, free: 23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/0.9759, allocations: 35.97 kB / 449.8 MB, free: 22.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.9868, allocations: 6.156 MB / 455.9 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.9868, allocations: 7.984 kB / 456 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009821/0.9967, allocations: 3.293 MB / 459.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/0.9985, allocations: 414.8 kB / 459.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004813/0.999, allocations: 32 kB / 459.7 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.001, allocations: 79.91 kB / 459.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/1.002, allocations: 108.8 kB / 459.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.002, allocations: 32 kB / 459.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001981/1.004, allocations: 0.9917 MB / 460.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.004, allocations: 0 / 460.9 MB, free: 11.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002105/1.006, allocations: 492.1 kB / 461.4 MB, free: 10.82 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.007701/1.014, allocations: 4.774 MB / 466.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004745/1.018, allocations: 2.208 MB / 468.4 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.018, allocations: 4.062 kB / 468.4 MB, free: 3.645 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003953/1.022, allocations: 1.472 MB / 469.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/1.026, allocations: 417.9 kB / 470.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.037, allocations: 4.267 MB / 474.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/1.04, allocations: 1.854 MB / 476.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00212/1.042, allocations: 393.4 kB / 476.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00171/1.044, allocations: 0.7843 MB / 477.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/1.044, allocations: 0 / 477.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3748/1.419, allocations: 42.58 MB / 0.5079 GB, free: 95.31 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.419, allocations: 207.2 kB / 0.5081 GB, free: 95.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.84/5.259, allocations: 0 / 0.5081 GB, free: 95.08 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