Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.264/2.264, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.202e-05, allocations: 2.531 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5399/0.6593, allocations: 98.66 MB / 393 MB, free: 2.758 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/0.6598, allocations: 82.92 kB / 393 MB, free: 2.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2186/0.8784, allocations: 43.94 MB / 437 MB, free: 2.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.571e-06/0.8785, allocations: 4 kB / 437 MB, free: 2.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002915/0.8788, allocations: 55.94 kB / 437 MB, free: 2.656 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.009066/0.8879, allocations: 2.185 MB / 439.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.8879, allocations: 16.02 kB / 439.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.8897, allocations: 292.8 kB / 439.5 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005815/0.8955, allocations: 1.542 MB / 441.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.8957, allocations: 64 kB / 441.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000594/0.8963, allocations: 127.9 kB / 441.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006794/0.9032, allocations: 2.023 MB / 443.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007455/0.9107, allocations: 2.352 MB / 445.6 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.599e-05/0.9108, allocations: 7.984 kB / 445.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003283/0.9111, allocations: 4 kB / 445.6 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/0.9113, allocations: 87.94 kB / 445.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/0.9375, allocations: 8.061 MB / 453.8 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.9412, allocations: 1.726 MB / 455.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/0.9438, allocations: 0.86 MB / 456.4 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005232/0.9444, allocations: 138.3 kB / 456.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.9444, allocations: 39.88 kB / 456.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.939e-06/0.9445, allocations: 0 / 456.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01665/0.9611, allocations: 4.373 MB / 460.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.9612, allocations: 64.72 kB / 461 MB, free: 10.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.9642, allocations: 1.092 MB / 462.1 MB, free: 9.059 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/0.9645, allocations: 29.7 kB / 462.1 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001195/0.9657, allocations: 0.9826 MB / 463.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006734/0.9664, allocations: 409.9 kB / 463.5 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.9666, allocations: 0 / 463.5 MB, free: 7.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.9668, allocations: 357.9 kB / 463.8 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.9688, allocations: 0.6755 MB / 464.5 MB, free: 6.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.9711, allocations: 0.9681 MB / 465.5 MB, free: 5.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.9735, allocations: 0.822 MB / 466.3 MB, free: 4.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/0.9735, allocations: 4 kB / 466.3 MB, free: 4.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006907/0.9804, allocations: 2.127 MB / 468.4 MB, free: 2.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.9805, allocations: 15.89 kB / 468.4 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/0.9806, allocations: 8 kB / 468.5 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.9825, allocations: 403.4 kB / 468.8 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.9857, allocations: 347.5 kB / 469.2 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/0.9943, allocations: 4.414 MB / 473.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.9966, allocations: 63.97 kB / 473.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.9969, allocations: 52 kB / 473.7 MB, free: 13 MB / 378.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.0004484/0.9973, allocations: 140.6 kB / 473.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006395/1.004, allocations: 1.869 MB / 475.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000785/1.005, allocations: 150.1 kB / 475.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00826/1.013, allocations: 1.999 MB / 477.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.293e-05/1.013, allocations: 12 kB / 477.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/1.013, allocations: 3.984 kB / 477.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.931e-05/1.013, allocations: 7.984 kB / 477.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.033, allocations: 4.138 MB / 482 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/1.033, allocations: 8.281 kB / 482 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003321/1.036, allocations: 231.7 kB / 482.3 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003527/1.04, allocations: 470.8 kB / 482.7 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/1.04, allocations: 11.98 kB / 482.7 MB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/1.055, allocations: 5.913 MB / 488.6 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/1.055, allocations: 4 kB / 488.6 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/1.067, allocations: 3.156 MB / 491.8 MB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.069, allocations: 383.2 kB / 492.2 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006647/1.07, allocations: 7.938 kB / 492.2 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002485/1.073, allocations: 63.91 kB / 492.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006623/1.073, allocations: 117.1 kB / 492.4 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/1.073, allocations: 35.98 kB / 492.4 MB, free: 9.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003333/1.077, allocations: 0.8215 MB / 493.2 MB, free: 8.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.163e-06/1.077, allocations: 0 / 493.2 MB, free: 8.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004191/1.081, allocations: 431.9 kB / 493.6 MB, free: 8.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (107): * Single equations (assignments): 103 * 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.01474/1.096, allocations: 4.489 MB / 498.1 MB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006637/1.103, allocations: 2.127 MB / 0.4885 GB, free: 1.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.103, allocations: 4 kB / 0.4885 GB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004515/1.107, allocations: 1.411 MB / 0.4899 GB, free: 200 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3138/1.421, allocations: 318.2 kB / 0.4902 GB, free: 104.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.441, allocations: 4.147 MB / 0.4943 GB, free: 103.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/1.445, allocations: 1.862 MB / 0.4961 GB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003767/1.448, allocations: 375.8 kB / 0.4964 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/1.452, allocations: 0.7901 MB / 0.4972 GB, free: 103 MB / 394.7 MB Notification: Performance of SimCode: time 2.384e-06/1.452, allocations: 0 / 0.4972 GB, free: 103 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1355/1.587, allocations: 36.23 MB / 0.5326 GB, free: 99.36 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003037/1.588, allocations: 189.8 kB / 0.5328 GB, free: 99.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.194/5.782, allocations: 0 / 0.5328 GB, free: 99.16 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat