Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.687/1.687, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.74e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.249, allocations: 38.78 MB / 263.9 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.41, allocations: 94.26 MB / 358.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4104, allocations: 83.95 kB / 358.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4008/0.8112, allocations: 40.5 MB / 398.7 MB, free: 75.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.8112, allocations: 4 kB / 398.7 MB, free: 75.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002048/0.8115, allocations: 47.94 kB / 398.7 MB, free: 75.18 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: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.007838/0.8193, allocations: 1.966 MB / 400.7 MB, free: 73.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.8194, allocations: 16.03 kB / 400.7 MB, free: 73.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007432/0.8202, allocations: 274.3 kB / 401 MB, free: 72.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.8216, allocations: 269.1 kB / 401.3 MB, free: 72.61 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004865/0.8265, allocations: 1.332 MB / 402.6 MB, free: 71.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.8267, allocations: 147.6 kB / 402.7 MB, free: 71.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005959/0.8273, allocations: 195.9 kB / 402.9 MB, free: 70.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008036/0.8354, allocations: 2.323 MB / 405.2 MB, free: 68.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.8355, allocations: 19.84 kB / 405.3 MB, free: 68.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004641/0.836, allocations: 80 kB / 405.3 MB, free: 68.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/0.8362, allocations: 75.66 kB / 405.4 MB, free: 68.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007258/0.8435, allocations: 1.811 MB / 407.2 MB, free: 66.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01754/0.8611, allocations: 7.779 MB / 415 MB, free: 58.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.8636, allocations: 1.354 MB / 416.4 MB, free: 57.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.8657, allocations: 0.9032 MB / 417.3 MB, free: 56.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/0.866, allocations: 142 kB / 417.4 MB, free: 56.12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.8661, allocations: 43.56 kB / 417.4 MB, free: 56.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.727e-06/0.8661, allocations: 0 / 417.4 MB, free: 56.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01636/0.8825, allocations: 5.116 MB / 422.6 MB, free: 50.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.8825, allocations: 64.72 kB / 422.6 MB, free: 50.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.8845, allocations: 1.054 MB / 423.7 MB, free: 49.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.8847, allocations: 45.7 kB / 423.7 MB, free: 49.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/0.8853, allocations: 0.8556 MB / 424.6 MB, free: 48.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.8857, allocations: 441.4 kB / 425 MB, free: 48.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.8858, allocations: 31.94 kB / 425 MB, free: 48.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8859, allocations: 366.7 kB / 425.4 MB, free: 48.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.8874, allocations: 0.6521 MB / 426.1 MB, free: 47.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.889, allocations: 0.9651 MB / 427 MB, free: 46.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.8907, allocations: 0.8052 MB / 427.8 MB, free: 45.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.8908, allocations: 4 kB / 427.8 MB, free: 45.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005094/0.8959, allocations: 2.156 MB / 430 MB, free: 43.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.8959, allocations: 13.7 kB / 430 MB, free: 43.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.896, allocations: 8.25 kB / 430 MB, free: 43.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.8977, allocations: 0.4921 MB / 430.5 MB, free: 42.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.9, allocations: 331.5 kB / 430.8 MB, free: 42.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008218/0.9082, allocations: 6.639 MB / 437.5 MB, free: 35.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.9101, allocations: 87.88 kB / 437.5 MB, free: 35.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.9103, allocations: 56 kB / 437.6 MB, free: 35.25 MB / 314.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.0003449/0.9106, allocations: 184.6 kB / 437.8 MB, free: 35.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.9109, allocations: 150.2 kB / 437.9 MB, free: 34.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004966/0.9159, allocations: 2.09 MB / 440 MB, free: 32.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.9159, allocations: 16.05 kB / 440 MB, free: 32.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.916, allocations: 15.89 kB / 440 MB, free: 32.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.916, allocations: 7.969 kB / 440.1 MB, free: 32.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00955/0.9256, allocations: 4.276 MB / 444.3 MB, free: 28.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.9256, allocations: 4 kB / 444.3 MB, free: 28.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.9274, allocations: 227.6 kB / 444.6 MB, free: 28.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.9296, allocations: 0.547 MB / 445.1 MB, free: 27.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.9298, allocations: 35.92 kB / 445.1 MB, free: 27.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009647/0.9394, allocations: 8.174 MB / 453.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9395, allocations: 4 kB / 453.3 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006539/0.946, allocations: 3.148 MB / 456.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000892/0.9469, allocations: 371.1 kB / 456.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.9472, allocations: 43.94 kB / 456.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.9486, allocations: 71.92 kB / 456.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.949, allocations: 105 kB / 457 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.9491, allocations: 36 kB / 457.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001486/0.9506, allocations: 0.8146 MB / 457.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9506, allocations: 0 / 457.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001973/0.9526, allocations: 483.9 kB / 458.4 MB, free: 13.68 MB / 314.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.007013/0.9596, allocations: 4.518 MB / 462.9 MB, free: 9.066 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004511/0.9641, allocations: 2.255 MB / 465.1 MB, free: 6.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9642, allocations: 4 kB / 465.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002989/0.9672, allocations: 1.525 MB / 466.7 MB, free: 5.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.9699, allocations: 381.1 kB / 467 MB, free: 4.773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.9785, allocations: 3.958 MB / 471 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.9802, allocations: 1.686 MB / 472.7 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/0.9818, allocations: 0.718 MB / 473.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.9819, allocations: 0 / 473.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.795/4.777, allocations: 77.49 MB / 0.538 GB, free: 71.77 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat