Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.536e-05, allocations: 7.984 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5579, allocations: 122.2 MB / 439.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.5583, allocations: 85.27 kB / 439.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7381/1.296, allocations: 117.5 MB / 0.5437 GB, free: 85.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.296, allocations: 0 / 0.5437 GB, free: 85.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005316/1.297, allocations: 131.5 kB / 0.5438 GB, free: 85.54 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01934/1.316, allocations: 4.925 MB / 0.5486 GB, free: 83.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.316, allocations: 7.531 kB / 0.5486 GB, free: 83.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002486/1.319, allocations: 0.7061 MB / 0.5493 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007418/1.326, allocations: 0.9997 MB / 0.5503 GB, free: 83.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/1.342, allocations: 4.597 MB / 0.5548 GB, free: 82.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004512/1.343, allocations: 384.4 kB / 0.5552 GB, free: 82.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/1.345, allocations: 0.5097 MB / 0.5557 GB, free: 82.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/1.366, allocations: 6.664 MB / 0.5622 GB, free: 81.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/1.366, allocations: 10.69 kB / 0.5622 GB, free: 81.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001565/1.367, allocations: 220.1 kB / 0.5624 GB, free: 81.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/1.368, allocations: 229.6 kB / 0.5626 GB, free: 81.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/1.385, allocations: 5.366 MB / 0.5679 GB, free: 81.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05403/1.439, allocations: 21.44 MB / 0.5888 GB, free: 70.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/1.454, allocations: 8.648 MB / 0.5972 GB, free: 63.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008136/1.462, allocations: 2.208 MB / 0.5994 GB, free: 62.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01907/1.482, allocations: 6.176 MB / 0.6054 GB, free: 59.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/1.482, allocations: 60.56 kB / 0.6055 GB, free: 59.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=220): time 5.661e-06/1.482, allocations: 0 / 0.6055 GB, free: 59.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=239): time 0.02724/1.509, allocations: 8.964 MB / 0.6142 GB, free: 51.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.509, allocations: 77.41 kB / 0.6143 GB, free: 51.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005504/1.515, allocations: 2.584 MB / 0.6168 GB, free: 48.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005577/1.515, allocations: 65.7 kB / 0.6169 GB, free: 48.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/1.517, allocations: 2.306 MB / 0.6191 GB, free: 46.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.518, allocations: 0.8077 MB / 0.6199 GB, free: 46.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.518, allocations: 60 kB / 0.62 GB, free: 45.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001765/1.518, allocations: 421.5 kB / 0.6204 GB, free: 45.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/1.521, allocations: 1.299 MB / 0.6217 GB, free: 44.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/1.524, allocations: 2.025 MB / 0.6236 GB, free: 42.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/1.528, allocations: 1.655 MB / 0.6253 GB, free: 40.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/1.528, allocations: 4 kB / 0.6253 GB, free: 40.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01065/1.539, allocations: 4.46 MB / 0.6296 GB, free: 36.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/1.539, allocations: 18.48 kB / 0.6296 GB, free: 36.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/1.539, allocations: 27.75 kB / 0.6297 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/1.542, allocations: 0.7449 MB / 0.6304 GB, free: 36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004906/1.547, allocations: 0.645 MB / 0.631 GB, free: 35.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/1.561, allocations: 13.35 MB / 0.6441 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004159/1.566, allocations: 159.5 kB / 0.6442 GB, free: 21.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000594/1.566, allocations: 116 kB / 0.6443 GB, free: 21.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (322): * Single equations (assignments): 312 * 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: 7 * 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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007202/1.567, allocations: 280.1 kB / 0.6446 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/1.568, allocations: 324 kB / 0.6449 GB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.578, allocations: 4.115 MB / 0.6489 GB, free: 17.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/1.578, allocations: 26.77 kB / 0.6489 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.578, allocations: 12 kB / 0.6489 GB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/1.578, allocations: 13.88 kB / 0.649 GB, free: 17.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.599, allocations: 9.013 MB / 0.6578 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/1.599, allocations: 4 kB / 0.6578 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003185/1.603, allocations: 387 kB / 0.6581 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003904/1.607, allocations: 0.9176 MB / 0.659 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/1.607, allocations: 67.97 kB / 0.6591 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3372/1.944, allocations: 16.46 MB / 0.6752 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/1.944, allocations: 9 kB / 0.6752 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02177/1.966, allocations: 6.263 MB / 0.6813 GB, free: 70.69 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003653/1.97, allocations: 0.6982 MB / 0.682 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001553/1.971, allocations: 60.22 kB / 0.682 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004557/1.976, allocations: 144.8 kB / 0.6822 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009718/1.977, allocations: 199 kB / 0.6824 GB, free: 70.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003649/1.977, allocations: 68.97 kB / 0.6824 GB, free: 70.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00526/1.983, allocations: 1.966 MB / 0.6843 GB, free: 70.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.983, allocations: 0.6875 kB / 0.6843 GB, free: 70.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006252/1.989, allocations: 1.019 MB / 0.6853 GB, free: 70.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].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 (180): * Single equations (assignments): 171 * 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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0156/2.005, allocations: 8.161 MB / 0.6933 GB, free: 67.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009636/2.014, allocations: 4.349 MB / 0.6976 GB, free: 66.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.014, allocations: 0 / 0.6976 GB, free: 66.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006857/2.021, allocations: 2.927 MB / 0.7004 GB, free: 65.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/2.028, allocations: 0.8376 MB / 0.7012 GB, free: 65.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/2.056, allocations: 9.642 MB / 0.7106 GB, free: 63.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005449/2.061, allocations: 3.528 MB / 0.7141 GB, free: 62.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004459/2.066, allocations: 0.7632 MB / 0.7148 GB, free: 62.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004142/2.07, allocations: 1.948 MB / 0.7167 GB, free: 62.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/2.07, allocations: 0 / 0.7167 GB, free: 62.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2504/2.32, allocations: 87.14 MB / 0.8018 GB, free: 9.461 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/2.321, allocations: 186.7 kB / 0.802 GB, free: 9.234 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.773/8.093, allocations: 8 kB / 0.802 GB, free: 9.227 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_res.mat does not exist to compare? outputFormat=mat