Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_1_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.709/1.709, allocations: 171.2 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.305e-05, allocations: 4 kB / 219.6 MB, free: 6.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2764, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.4706, allocations: 108.9 MB / 367.3 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/0.4711, allocations: 83.95 kB / 367.4 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6348/1.106, allocations: 111.7 MB / 479 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.106, allocations: 0 / 479 MB, free: 14.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006018/1.107, allocations: 127.8 kB / 479.2 MB, free: 14.05 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.02135/1.128, allocations: 4.835 MB / 484 MB, free: 9.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.128, allocations: 8.031 kB / 484 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005358/1.133, allocations: 0.7779 MB / 484.8 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/1.146, allocations: 3.608 MB / 488.4 MB, free: 4.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003938/1.147, allocations: 172 kB / 488.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/1.149, allocations: 303.8 kB / 488.8 MB, free: 4.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2659/1.415, allocations: 4.781 MB / 493.6 MB, free: 31.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/1.436, allocations: 5.752 MB / 499.4 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002595/1.436, allocations: 17.5 kB / 499.4 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/1.437, allocations: 7.688 kB / 499.4 MB, free: 30.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/1.438, allocations: 209.2 kB / 499.6 MB, free: 30.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04877/1.486, allocations: 19.51 MB / 0.5069 GB, free: 26.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006974/1.493, allocations: 4.519 MB / 0.5114 GB, free: 24.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004909/1.498, allocations: 2.031 MB / 0.5133 GB, free: 24.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/1.499, allocations: 152.3 kB / 0.5135 GB, free: 24.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/1.499, allocations: 59.75 kB / 0.5135 GB, free: 24.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=235): time 5.44e-06/1.499, allocations: 0 / 0.5135 GB, free: 24.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=278): time 0.02857/1.528, allocations: 9.313 MB / 0.5226 GB, free: 23.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/1.528, allocations: 85.81 kB / 0.5227 GB, free: 23.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/1.533, allocations: 2.038 MB / 0.5247 GB, free: 22.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005821/1.533, allocations: 25.7 kB / 0.5247 GB, free: 22.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.535, allocations: 2.213 MB / 0.5269 GB, free: 22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001174/1.536, allocations: 0.9051 MB / 0.5278 GB, free: 21.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002607/1.536, allocations: 0 / 0.5278 GB, free: 21.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/1.537, allocations: 428.2 kB / 0.5282 GB, free: 21.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/1.54, allocations: 1.371 MB / 0.5295 GB, free: 21.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/1.544, allocations: 2.055 MB / 0.5315 GB, free: 19.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/1.548, allocations: 1.744 MB / 0.5332 GB, free: 19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.434e-05/1.548, allocations: 7.688 kB / 0.5332 GB, free: 19 MB / 330.7 MB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01353/1.561, allocations: 4.62 MB / 0.5378 GB, free: 17.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/1.561, allocations: 15.59 kB / 0.5378 GB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.374e-05/1.561, allocations: 19.84 kB / 0.5378 GB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/1.565, allocations: 0.9326 MB / 0.5387 GB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005163/1.57, allocations: 0.6706 MB / 0.5394 GB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/1.587, allocations: 12.35 MB / 0.5514 GB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/1.591, allocations: 93.25 kB / 0.5515 GB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006623/1.592, allocations: 121.2 kB / 0.5516 GB, free: 7.621 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 5 {(2,100.0%) 12,(1,100.0%) 1,(4,100.0%) 29,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007318/1.593, allocations: 180.7 kB / 0.5518 GB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0101/1.603, allocations: 4.248 MB / 0.5559 GB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.604, allocations: 303.1 kB / 0.5562 GB, free: 5.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.615, allocations: 4.479 MB / 0.5606 GB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/1.615, allocations: 25.06 kB / 0.5606 GB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/1.615, allocations: 17.78 kB / 0.5606 GB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/1.615, allocations: 11.06 kB / 0.5607 GB, free: 3.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/1.643, allocations: 10.05 MB / 0.5705 GB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.363e-05/1.643, allocations: 3.625 kB / 0.5705 GB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003718/1.647, allocations: 432.1 kB / 0.5709 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004526/1.651, allocations: 1.089 MB / 0.572 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005206/1.652, allocations: 29.69 kB / 0.572 GB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02732/1.679, allocations: 17.54 MB / 0.5891 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.534e-05/1.679, allocations: 10.53 kB / 0.5891 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/1.696, allocations: 7.029 MB / 0.596 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/1.699, allocations: 0.6973 MB / 0.5967 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009965/1.7, allocations: 19.56 kB / 0.5967 GB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/1.703, allocations: 93.91 kB / 0.5968 GB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008992/1.704, allocations: 221.2 kB / 0.597 GB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/1.705, allocations: 77.81 kB / 0.5971 GB, free: 6.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003788/1.708, allocations: 1.524 MB / 0.5985 GB, free: 5.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.708, allocations: 0 / 0.5985 GB, free: 5.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005755/1.714, allocations: 0.9007 MB / 0.5994 GB, free: 4.121 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 199 * 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: 8 * 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: 8 {(5,92.0%) 27,(2,100.0%) 12,(1,100.0%) 7,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02491/1.739, allocations: 9.587 MB / 0.6088 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/1.751, allocations: 4.519 MB / 0.6132 GB, free: 8.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.751, allocations: 6.812 kB / 0.6132 GB, free: 8.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008998/1.76, allocations: 3.237 MB / 0.6164 GB, free: 5.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/1.766, allocations: 0.6257 MB / 0.617 GB, free: 4.547 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3006/2.067, allocations: 9.974 MB / 0.6267 GB, free: 70.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006118/2.073, allocations: 3.558 MB / 0.6302 GB, free: 69.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003851/2.077, allocations: 0.6894 MB / 0.6309 GB, free: 69.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003989/2.081, allocations: 1.889 MB / 0.6327 GB, free: 69.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.382e-06/2.081, allocations: 0 / 0.6327 GB, free: 69.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/2.311, allocations: 77.36 MB / 0.7083 GB, free: 45 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/2.311, allocations: 155.8 kB / 0.7084 GB, free: 44.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.114/7.425, allocations: 4 kB / 0.7084 GB, free: 44.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat