Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.341e-05, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09096, allocations: 44.5 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5232, allocations: 97.79 MB / 397.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5235, allocations: 82.38 kB / 397.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1664/0.69, allocations: 40.23 MB / 438.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.69, allocations: 0 / 438.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002408/0.6903, allocations: 51.94 kB / 438.1 MB, free: 11.04 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007864/0.6982, allocations: 1.927 MB / 440 MB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.6982, allocations: 8.031 kB / 440 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001098/0.6993, allocations: 267.5 kB / 440.3 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.7009, allocations: 253.2 kB / 440.6 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/0.7057, allocations: 1.334 MB / 441.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.7059, allocations: 137.5 kB / 442 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000861/0.7068, allocations: 180.9 kB / 442.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007551/0.7144, allocations: 2.264 MB / 444.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/0.7145, allocations: 7.906 kB / 444.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.7148, allocations: 80.47 kB / 444.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/0.715, allocations: 87.25 kB / 444.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006236/0.7213, allocations: 1.759 MB / 446.4 MB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02186/0.7432, allocations: 7.174 MB / 453.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.7465, allocations: 1.255 MB / 454.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.7486, allocations: 0.6974 MB / 455.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004506/0.7491, allocations: 129.8 kB / 455.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.851e-05/0.7492, allocations: 47.34 kB / 455.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.436e-06/0.7492, allocations: 7.938 kB / 455.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02596/0.7751, allocations: 5.95 MB / 461.7 MB, free: 5.605 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.7752, allocations: 68.39 kB / 461.7 MB, free: 5.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.7779, allocations: 1.018 MB / 462.7 MB, free: 4.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.7783, allocations: 45.7 kB / 462.8 MB, free: 4.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008625/0.7792, allocations: 0.8398 MB / 463.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/0.7799, allocations: 394.1 kB / 464 MB, free: 3.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.78, allocations: 24 kB / 464 MB, free: 3.191 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.7802, allocations: 366.7 kB / 464.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.7821, allocations: 0.6351 MB / 465 MB, free: 2.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.7843, allocations: 0.9281 MB / 466 MB, free: 1.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.7865, allocations: 0.7894 MB / 466.7 MB, free: 348 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.7866, allocations: 4 kB / 466.7 MB, free: 344 kB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00704/0.7936, allocations: 2.215 MB / 469 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.7937, allocations: 8 kB / 469 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/0.7937, allocations: 12 kB / 469 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.7967, allocations: 0.6336 MB / 469.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.799, allocations: 279.6 kB / 469.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/0.8119, allocations: 6.311 MB / 476.2 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/0.814, allocations: 95.88 kB / 476.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/0.8144, allocations: 55.98 kB / 476.3 MB, free: 6.441 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004073/0.8148, allocations: 172.6 kB / 476.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005294/0.8153, allocations: 138.3 kB / 476.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006825/0.8222, allocations: 2.185 MB / 478.8 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.318e-05/0.8222, allocations: 12 kB / 478.8 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.8223, allocations: 4 kB / 478.9 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/0.8223, allocations: 7.922 kB / 478.9 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.836, allocations: 4.344 MB / 483.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/0.836, allocations: 4 kB / 483.2 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.8377, allocations: 180.1 kB / 483.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003691/0.8414, allocations: 0.7213 MB / 484.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002829/0.8417, allocations: 39.94 kB / 484.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.8573, allocations: 8.029 MB / 492.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.8574, allocations: 4 kB / 492.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008966/0.8664, allocations: 3.256 MB / 495.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.8677, allocations: 359.2 kB / 495.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/0.8683, allocations: 31.98 kB / 495.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.8701, allocations: 87.91 kB / 495.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/0.8706, allocations: 96.75 kB / 496 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.8708, allocations: 36 kB / 496 MB, free: 2.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002115/0.8729, allocations: 0.7886 MB / 496.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.8729, allocations: 4 kB / 496.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002722/0.8757, allocations: 475.9 kB / 497.3 MB, free: 0.8398 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01031/0.886, allocations: 4.743 MB / 0.4903 GB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006299/0.8924, allocations: 2.168 MB / 0.4924 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.8924, allocations: 0 / 0.4924 GB, free: 9.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004688/0.8971, allocations: 1.51 MB / 0.4939 GB, free: 8.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.9003, allocations: 352.7 kB / 0.4942 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.9126, allocations: 3.772 MB / 0.4979 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.9151, allocations: 1.673 MB / 0.4995 GB, free: 2.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/0.9169, allocations: 0.6867 MB / 0.5002 GB, free: 1.613 MB / 394.7 MB Notification: Performance of SimCode: time 1.674e-06/0.917, allocations: 0 / 0.5002 GB, free: 1.613 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.276/5.193, allocations: 66.87 MB / 0.5655 GB, free: 102.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat