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.732/1.732, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.95e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.249, allocations: 38.77 MB / 263.8 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.4085, allocations: 94.25 MB / 358.1 MB, free: 11.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4088, allocations: 87.94 kB / 358.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3688/0.7777, allocations: 40.48 MB / 398.7 MB, free: 75.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7777, allocations: 4 kB / 398.7 MB, free: 75.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001655/0.7779, allocations: 59.7 kB / 398.7 MB, free: 75.01 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.005959/0.7839, allocations: 1.962 MB / 400.7 MB, free: 73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.7839, allocations: 8.031 kB / 400.7 MB, free: 73 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007367/0.7847, allocations: 282.3 kB / 401 MB, free: 72.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.7857, allocations: 269.1 kB / 401.2 MB, free: 72.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.7897, allocations: 1.329 MB / 402.6 MB, free: 71.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.7899, allocations: 143.7 kB / 402.7 MB, free: 70.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008685/0.7908, allocations: 192 kB / 402.9 MB, free: 70.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006518/0.7973, allocations: 2.354 MB / 405.2 MB, free: 68.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.464e-05/0.7975, allocations: 7.906 kB / 405.2 MB, free: 68.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.7978, allocations: 83.91 kB / 405.3 MB, free: 68.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.7979, allocations: 87.66 kB / 405.4 MB, free: 68.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.8026, allocations: 1.834 MB / 407.2 MB, free: 66.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.8193, allocations: 7.771 MB / 415 MB, free: 58.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.822, allocations: 1.383 MB / 416.4 MB, free: 56.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002098/0.8241, allocations: 0.9032 MB / 417.3 MB, free: 56.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.8245, allocations: 138 kB / 417.4 MB, free: 55.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.8245, allocations: 47.56 kB / 417.5 MB, free: 55.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.847e-06/0.8245, allocations: 0 / 417.5 MB, free: 55.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01637/0.8409, allocations: 5.116 MB / 422.6 MB, free: 50.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.841, allocations: 68.72 kB / 422.7 MB, free: 50.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.8429, allocations: 1.054 MB / 423.7 MB, free: 49.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.843, allocations: 53.64 kB / 423.8 MB, free: 49.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/0.8436, allocations: 0.846 MB / 424.6 MB, free: 48.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.844, allocations: 441.6 kB / 425.1 MB, free: 48.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.8441, allocations: 32 kB / 425.1 MB, free: 48.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.8442, allocations: 366.7 kB / 425.4 MB, free: 47.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.8457, allocations: 0.6482 MB / 426.1 MB, free: 47.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.8473, allocations: 0.9768 MB / 427.1 MB, free: 46.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.849, allocations: 0.8052 MB / 427.9 MB, free: 45.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.8491, allocations: 4 kB / 427.9 MB, free: 45.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005126/0.8542, allocations: 2.187 MB / 430.1 MB, free: 43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.8543, allocations: 8 kB / 430.1 MB, free: 42.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.8543, allocations: 16.25 kB / 430.1 MB, free: 42.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.8561, allocations: 496 kB / 430.6 MB, free: 42.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.8584, allocations: 335.4 kB / 430.9 MB, free: 42.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0084/0.8668, allocations: 6.641 MB / 437.5 MB, free: 35.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.8687, allocations: 87.98 kB / 437.6 MB, free: 35.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8689, allocations: 52 kB / 437.7 MB, free: 34.97 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.0003546/0.8692, allocations: 186.2 kB / 437.9 MB, free: 34.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.8696, allocations: 146.2 kB / 438 MB, free: 34.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/0.8747, allocations: 2.094 MB / 440.1 MB, free: 32.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.8747, allocations: 16 kB / 440.1 MB, free: 32.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.8747, allocations: 7.953 kB / 440.1 MB, free: 32.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.8748, allocations: 11.97 kB / 440.1 MB, free: 32.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009765/0.8845, allocations: 4.284 MB / 444.4 MB, free: 28.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8846, allocations: 0 / 444.4 MB, free: 28.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.8864, allocations: 227.7 kB / 444.6 MB, free: 27.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00225/0.8887, allocations: 0.5429 MB / 445.2 MB, free: 27.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.8888, allocations: 35.98 kB / 445.2 MB, free: 27.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/0.899, allocations: 8.177 MB / 453.4 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.899, allocations: 11.95 kB / 453.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.9057, allocations: 3.156 MB / 456.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/0.9067, allocations: 367.2 kB / 456.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.9071, allocations: 36.05 kB / 457 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.9085, allocations: 79.86 kB / 457 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.9088, allocations: 100.8 kB / 457.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.9089, allocations: 32 kB / 457.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00152/0.9105, allocations: 0.8146 MB / 458 MB, free: 13.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9105, allocations: 0 / 458 MB, free: 13.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00201/0.9125, allocations: 483.9 kB / 458.4 MB, free: 13.4 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.007346/0.9199, allocations: 4.52 MB / 463 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.9246, allocations: 2.298 MB / 465.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.9246, allocations: 384 / 465.3 MB, free: 6.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003129/0.9278, allocations: 1.572 MB / 466.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.9305, allocations: 380.4 kB / 467.2 MB, free: 4.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.9394, allocations: 3.964 MB / 471.2 MB, free: 336 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001821/0.9413, allocations: 1.67 MB / 472.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/0.9429, allocations: 0.718 MB / 473.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.9429, allocations: 4 kB / 473.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.908/4.851, allocations: 77.67 MB / 0.5383 GB, free: 71.8 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