Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.126e-05, allocations: 3.094 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0899/0.08997, allocations: 44.51 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5277, allocations: 99.56 MB / 399.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5281, allocations: 84.7 kB / 399.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1635/0.6916, allocations: 41.41 MB / 441 MB, free: 8.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.6917, allocations: 0 / 441 MB, free: 8.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001949/0.6919, allocations: 51.94 kB / 441.1 MB, free: 8.43 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.006801/0.6987, allocations: 1.991 MB / 443.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.6987, allocations: 12.03 kB / 443.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007779/0.6995, allocations: 280.3 kB / 443.3 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.7008, allocations: 269.1 kB / 443.6 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/0.705, allocations: 1.376 MB / 445 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.7052, allocations: 144.7 kB / 445.1 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.7058, allocations: 193.3 kB / 445.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00673/0.7125, allocations: 2.352 MB / 447.7 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.934e-05/0.7126, allocations: 4 kB / 447.7 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003044/0.713, allocations: 77.81 kB / 447.7 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.7131, allocations: 91.3 kB / 447.8 MB, free: 3.082 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005699/0.7188, allocations: 1.817 MB / 449.6 MB, free: 1.953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.742, allocations: 7.839 MB / 457.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.7455, allocations: 1.354 MB / 458.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002717/0.7483, allocations: 0.8955 MB / 459.7 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004643/0.7488, allocations: 142 kB / 459.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.7489, allocations: 47.5 kB / 459.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 5.892e-06/0.7489, allocations: 4 kB / 459.9 MB, free: 7.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.02018/0.7691, allocations: 5.114 MB / 465 MB, free: 2.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.7692, allocations: 68.72 kB / 465.1 MB, free: 2.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.7719, allocations: 1.085 MB / 466.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003365/0.7723, allocations: 45.7 kB / 466.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008482/0.7731, allocations: 0.8591 MB / 467.1 MB, free: 500 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006825/0.7738, allocations: 437.2 kB / 467.5 MB, free: 64 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.774, allocations: 24 kB / 467.5 MB, free: 40 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.7742, allocations: 366.8 kB / 467.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/0.776, allocations: 0.6521 MB / 468.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.7781, allocations: 0.9609 MB / 469.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/0.7804, allocations: 0.8091 MB / 470.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.7804, allocations: 4 kB / 470.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006463/0.7869, allocations: 2.179 MB / 472.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.787, allocations: 8 kB / 472.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/0.787, allocations: 8 kB / 472.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.789, allocations: 0.4884 MB / 473 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.7917, allocations: 331.5 kB / 473.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.8031, allocations: 6.636 MB / 480 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/0.8052, allocations: 84.03 kB / 480.1 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.8055, allocations: 63.88 kB / 480.1 MB, free: 2.895 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.000434/0.8059, allocations: 184.7 kB / 480.3 MB, free: 2.707 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/0.8064, allocations: 150.1 kB / 480.4 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.8128, allocations: 2.09 MB / 482.5 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.8128, allocations: 16.09 kB / 482.6 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/0.8129, allocations: 4 kB / 482.6 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.294e-05/0.8129, allocations: 11.95 kB / 482.6 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8271, allocations: 4.281 MB / 486.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.8272, allocations: 4 kB / 486.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.8292, allocations: 235.9 kB / 487.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.8319, allocations: 0.5429 MB / 487.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/0.8322, allocations: 31.98 kB / 487.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.8451, allocations: 8.183 MB / 495.8 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.8451, allocations: 7.922 kB / 495.8 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/0.8535, allocations: 3.163 MB / 499 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.8549, allocations: 375.2 kB / 499.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/0.8553, allocations: 31.98 kB / 499.4 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/0.857, allocations: 71.92 kB / 499.5 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.8574, allocations: 108.9 kB / 499.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.8576, allocations: 39.95 kB / 499.6 MB, free: 14.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002078/0.8597, allocations: 0.8343 MB / 0.4887 GB, free: 13.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.8597, allocations: 0 / 0.4887 GB, free: 13.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002765/0.8625, allocations: 480 kB / 0.4892 GB, free: 13.31 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.009321/0.8718, allocations: 4.511 MB / 0.4936 GB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00549/0.8773, allocations: 2.241 MB / 0.4958 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.8774, allocations: 0 / 0.4958 GB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003929/0.8813, allocations: 1.536 MB / 0.4973 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/0.8847, allocations: 391.2 kB / 0.4977 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.897, allocations: 3.99 MB / 0.5015 GB, free: 376 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/0.8992, allocations: 1.679 MB / 0.5032 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001836/0.9011, allocations: 0.7297 MB / 0.5039 GB, free: 13.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.9011, allocations: 3.938 kB / 0.5039 GB, free: 13.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.979/4.881, allocations: 78.22 MB / 0.5803 GB, free: 84.18 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_Steinmetz_res.mat does not exist to compare? outputFormat=mat