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 1.781/1.781, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.212e-05, allocations: 8 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 44.49 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4755/0.5903, allocations: 99.56 MB / 399.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5907, allocations: 90.39 kB / 399.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1609/0.7515, allocations: 41.4 MB / 441 MB, free: 8.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.7516, allocations: 0 / 441 MB, free: 8.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001786/0.7518, allocations: 47.94 kB / 441.1 MB, free: 8.078 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.006531/0.7583, allocations: 1.995 MB / 443.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.7584, allocations: 8.031 kB / 443.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008209/0.7592, allocations: 279.3 kB / 443.4 MB, free: 5.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.7604, allocations: 273.1 kB / 443.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.7647, allocations: 1.381 MB / 445 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.765, allocations: 138.1 kB / 445.1 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006357/0.7656, allocations: 190.3 kB / 445.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006577/0.7722, allocations: 2.359 MB / 447.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.791e-05/0.7723, allocations: 3.438 kB / 447.7 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002867/0.7726, allocations: 87.88 kB / 447.8 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.7728, allocations: 79.69 kB / 447.9 MB, free: 2.723 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005611/0.7784, allocations: 1.818 MB / 449.7 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.7994, allocations: 7.836 MB / 457.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003318/0.8028, allocations: 1.349 MB / 458.9 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002615/0.8054, allocations: 0.9001 MB / 459.8 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.8059, allocations: 138 kB / 459.9 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.806, allocations: 51.5 kB / 459.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 3.907e-06/0.806, allocations: 4 kB / 459.9 MB, free: 7.387 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01935/0.8253, allocations: 5.121 MB / 465.1 MB, free: 2.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.8254, allocations: 64.72 kB / 465.1 MB, free: 2.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.828, allocations: 1.085 MB / 466.2 MB, free: 1.039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002997/0.8283, allocations: 49.7 kB / 466.3 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008792/0.8292, allocations: 0.8773 MB / 467.1 MB, free: 100 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006449/0.8298, allocations: 441.5 kB / 467.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.83, allocations: 28 kB / 467.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.8302, allocations: 361.9 kB / 468 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.8319, allocations: 0.656 MB / 468.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.8339, allocations: 0.9609 MB / 469.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.836, allocations: 0.8052 MB / 470.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.836, allocations: 0 / 470.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006432/0.8424, allocations: 2.256 MB / 472.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.8425, allocations: 15.94 kB / 472.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.8425, allocations: 8 kB / 472.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.8445, allocations: 0.4962 MB / 473.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.8471, allocations: 327.5 kB / 473.5 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.8579, allocations: 6.636 MB / 480.1 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.8599, allocations: 87.88 kB / 480.2 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.8602, allocations: 60.08 kB / 480.3 MB, free: 2.418 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.0004186/0.8606, allocations: 196.6 kB / 480.4 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004083/0.861, allocations: 150.1 kB / 480.6 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006024/0.8671, allocations: 2.094 MB / 482.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.8671, allocations: 12 kB / 482.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.8672, allocations: 4 kB / 482.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.8672, allocations: 7.969 kB / 482.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.8794, allocations: 4.286 MB / 487 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.8795, allocations: 3.938 kB / 487 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00201/0.8815, allocations: 231.9 kB / 487.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.8841, allocations: 0.5465 MB / 487.8 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/0.8843, allocations: 31.98 kB / 487.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.8967, allocations: 8.18 MB / 496 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.8967, allocations: 4.031 kB / 496 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008082/0.9048, allocations: 3.156 MB / 499.1 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.9061, allocations: 371.2 kB / 499.5 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.9065, allocations: 31.98 kB / 499.5 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.9081, allocations: 75.92 kB / 499.6 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/0.9085, allocations: 108.9 kB / 499.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000135/0.9086, allocations: 32 kB / 499.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001922/0.9106, allocations: 0.8343 MB / 0.4889 GB, free: 13.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9106, allocations: 0 / 0.4889 GB, free: 13.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002514/0.9131, allocations: 488 kB / 0.4893 GB, free: 12.83 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.009123/0.9222, allocations: 4.513 MB / 0.4937 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005567/0.9279, allocations: 2.245 MB / 0.4959 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9279, allocations: 0 / 0.4959 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003835/0.9317, allocations: 1.532 MB / 0.4974 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/0.935, allocations: 394.8 kB / 0.4978 GB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.9462, allocations: 3.963 MB / 0.5017 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.9482, allocations: 1.697 MB / 0.5033 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001895/0.9501, allocations: 333 kB / 0.5036 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.9517, allocations: 0.718 MB / 0.5043 GB, free: 13.13 MB / 410.7 MB Notification: Performance of SimCode: time 3.727e-06/0.9517, allocations: 0 / 0.5043 GB, free: 13.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3768/1.328, allocations: 40.64 MB / 0.544 GB, free: 110.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/1.329, allocations: 216.5 kB / 0.5442 GB, free: 110.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.066/5.395, allocations: 0 / 0.5442 GB, free: 110.3 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