Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.034e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08907, allocations: 44.52 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5318, allocations: 99.56 MB / 399.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.5322, allocations: 85.8 kB / 399.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1665/0.6987, allocations: 41.4 MB / 441 MB, free: 8.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6988, allocations: 0 / 441 MB, free: 8.152 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002785/0.6991, allocations: 51.94 kB / 441.1 MB, free: 8.102 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.01085/0.7099, allocations: 1.991 MB / 443.1 MB, free: 6.195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/0.71, allocations: 12.03 kB / 443.1 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001458/0.7115, allocations: 279.6 kB / 443.3 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.714, allocations: 273.1 kB / 443.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007541/0.7216, allocations: 1.372 MB / 445 MB, free: 4.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.7218, allocations: 139.8 kB / 445.1 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008539/0.7227, allocations: 203 kB / 445.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007204/0.7299, allocations: 2.366 MB / 447.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.7301, allocations: 3.984 kB / 447.7 MB, free: 2.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.7304, allocations: 85.31 kB / 447.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.7306, allocations: 87.25 kB / 447.8 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.7368, allocations: 1.844 MB / 449.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02173/0.7585, allocations: 7.832 MB / 457.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.7619, allocations: 1.383 MB / 458.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.7646, allocations: 0.8955 MB / 459.8 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/0.765, allocations: 138 kB / 459.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/0.7651, allocations: 43.56 kB / 460 MB, free: 7.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.567e-06/0.7651, allocations: 0 / 460 MB, free: 7.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01964/0.7848, allocations: 5.122 MB / 465.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.7849, allocations: 64.72 kB / 465.2 MB, free: 2.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002698/0.7876, allocations: 1.085 MB / 466.2 MB, free: 1.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.7879, allocations: 53.7 kB / 466.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009582/0.7889, allocations: 0.8813 MB / 467.2 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007116/0.7897, allocations: 440.8 kB / 467.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.7898, allocations: 28 kB / 467.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.79, allocations: 361.9 kB / 468 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.7919, allocations: 0.6521 MB / 468.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/0.794, allocations: 0.9648 MB / 469.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.7963, allocations: 0.813 MB / 470.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.7963, allocations: 4 kB / 470.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006874/0.8032, allocations: 2.279 MB / 472.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.8033, allocations: 8.25 kB / 472.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.8033, allocations: 12 kB / 472.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.8054, allocations: 0.5037 MB / 473.2 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.808, allocations: 323.5 kB / 473.5 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.8193, allocations: 6.633 MB / 480.2 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.8213, allocations: 91.97 kB / 480.3 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.8216, allocations: 59.95 kB / 480.3 MB, free: 2.352 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004422/0.822, allocations: 188.5 kB / 480.5 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004859/0.8225, allocations: 146.2 kB / 480.7 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006256/0.8288, allocations: 2.102 MB / 482.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.8289, allocations: 15.94 kB / 482.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8289, allocations: 4 kB / 482.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.8289, allocations: 3.984 kB / 482.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.842, allocations: 4.298 MB / 487.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.8421, allocations: 0 / 487.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/0.8441, allocations: 223.9 kB / 487.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/0.8468, allocations: 0.5508 MB / 487.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002992/0.8472, allocations: 35.97 kB / 487.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.8603, allocations: 8.187 MB / 496.1 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.8603, allocations: 7.969 kB / 496.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0081/0.8684, allocations: 3.152 MB / 499.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.8697, allocations: 379.1 kB / 499.6 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/0.8701, allocations: 28 kB / 499.6 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.8716, allocations: 75.92 kB / 499.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003909/0.872, allocations: 104.9 kB / 499.8 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.8722, allocations: 43.94 kB / 499.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001942/0.8741, allocations: 0.8265 MB / 0.4889 GB, free: 13.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8741, allocations: 0 / 0.4889 GB, free: 13.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002393/0.8765, allocations: 488 kB / 0.4894 GB, free: 12.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009211/0.8858, allocations: 4.502 MB / 0.4938 GB, free: 8.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005676/0.8915, allocations: 2.294 MB / 0.496 GB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.8915, allocations: 0 / 0.496 GB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003849/0.8954, allocations: 1.569 MB / 0.4976 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.8984, allocations: 398.8 kB / 0.498 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.9099, allocations: 3.985 MB / 0.5018 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/0.912, allocations: 1.694 MB / 0.5035 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001909/0.9139, allocations: 337 kB / 0.5038 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/0.9156, allocations: 0.7141 MB / 0.5045 GB, free: 12.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9156, allocations: 4 kB / 0.5045 GB, free: 12.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4255/1.341, allocations: 40.82 MB / 0.5444 GB, free: 110.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.341, allocations: 214 kB / 0.5446 GB, free: 110.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.172/5.513, allocations: 0 / 0.5446 GB, free: 110.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat