Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.794e-05, allocations: 10.5 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 50.4 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.535/0.6407, allocations: 114.7 MB / 457.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003558/0.6411, allocations: 103.4 kB / 458 MB, free: 11.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9888/1.63, allocations: 183.7 MB / 0.6266 GB, free: 64.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.63, allocations: 0 / 0.6266 GB, free: 64.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008115/1.631, allocations: 191.8 kB / 0.6268 GB, free: 64.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03312/1.664, allocations: 7.644 MB / 0.6343 GB, free: 56.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/1.664, allocations: 8.031 kB / 0.6343 GB, free: 56.46 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004946/1.669, allocations: 1.095 MB / 0.6354 GB, free: 55.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0149/1.684, allocations: 1.824 MB / 0.6371 GB, free: 53.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02403/1.708, allocations: 6.959 MB / 0.6439 GB, free: 46.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007591/1.709, allocations: 0.59 MB / 0.6445 GB, free: 45.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003413/1.712, allocations: 0.7888 MB / 0.6453 GB, free: 45.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03419/1.747, allocations: 10.67 MB / 0.6557 GB, free: 34.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003845/1.747, allocations: 4 kB / 0.6557 GB, free: 34.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002689/1.75, allocations: 336 kB / 0.656 GB, free: 33.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004155/1.75, allocations: 376.2 kB / 0.6564 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/1.778, allocations: 8.892 MB / 0.6651 GB, free: 24.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7383/2.516, allocations: 34.52 MB / 0.6988 GB, free: 47.61 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03104/2.548, allocations: 19.63 MB / 0.7179 GB, free: 33.07 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009565/2.557, allocations: 3.612 MB / 0.7215 GB, free: 33 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0281/2.585, allocations: 9.462 MB / 0.7307 GB, free: 32.18 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/2.585, allocations: 71.14 kB / 0.7308 GB, free: 32.13 MB / 442.8 MB Notification: Performance of pre-optimization done (n=317): time 6.081e-06/2.585, allocations: 3.75 kB / 0.7308 GB, free: 32.13 MB / 442.8 MB Notification: Performance of matching and sorting (n=323): time 0.028/2.613, allocations: 10.09 MB / 0.7406 GB, free: 30.32 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/2.614, allocations: 82.08 kB / 0.7407 GB, free: 30.26 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009508/2.623, allocations: 3.834 MB / 0.7445 GB, free: 29.94 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007452/2.624, allocations: 81.27 kB / 0.7445 GB, free: 29.91 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003445/2.627, allocations: 3.526 MB / 0.748 GB, free: 28.44 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001559/2.629, allocations: 1.087 MB / 0.749 GB, free: 27.75 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/2.629, allocations: 75.91 kB / 0.7491 GB, free: 27.75 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0002733/2.63, allocations: 462.9 kB / 0.7496 GB, free: 27.43 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004492/2.634, allocations: 1.694 MB / 0.7512 GB, free: 27.43 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005453/2.64, allocations: 2.687 MB / 0.7538 GB, free: 26.29 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005682/2.645, allocations: 2.181 MB / 0.756 GB, free: 26.23 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.532e-05/2.645, allocations: 11.75 kB / 0.756 GB, free: 26.23 MB / 442.8 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01628/2.662, allocations: 5.658 MB / 0.7615 GB, free: 25.69 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/2.662, allocations: 19.16 kB / 0.7615 GB, free: 25.69 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/2.662, allocations: 30.66 kB / 0.7616 GB, free: 25.69 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/2.665, allocations: 0.8027 MB / 0.7623 GB, free: 25.62 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006346/2.672, allocations: 0.8084 MB / 0.7631 GB, free: 25.62 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01868/2.69, allocations: 14.81 MB / 0.7776 GB, free: 14.23 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/2.696, allocations: 186.7 kB / 0.7778 GB, free: 14.17 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009403/2.697, allocations: 161.5 kB / 0.7779 GB, free: 14.14 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001034/2.698, allocations: 340.8 kB / 0.7782 GB, free: 13.9 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/2.7, allocations: 451.6 kB / 0.7787 GB, free: 13.67 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/2.716, allocations: 5.421 MB / 0.784 GB, free: 11.36 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/2.716, allocations: 31.27 kB / 0.784 GB, free: 11.36 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/2.717, allocations: 20.5 kB / 0.784 GB, free: 11.36 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.731e-05/2.717, allocations: 17.92 kB / 0.784 GB, free: 11.36 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03565/2.752, allocations: 12.35 MB / 0.7961 GB, free: 6.133 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/2.752, allocations: 3.938 kB / 0.7961 GB, free: 6.133 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003503/2.756, allocations: 375.1 kB / 0.7965 GB, free: 6.121 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/2.762, allocations: 1.37 MB / 0.7978 GB, free: 5.707 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007517/2.763, allocations: 88.52 kB / 0.7979 GB, free: 5.656 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03858/2.801, allocations: 23.95 MB / 0.8213 GB, free: 3.742 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/2.801, allocations: 10.11 kB / 0.8213 GB, free: 3.742 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0249/2.826, allocations: 8.339 MB / 0.8294 GB, free: 15.91 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003944/2.83, allocations: 0.9492 MB / 0.8303 GB, free: 15.03 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/2.832, allocations: 79.89 kB / 0.8304 GB, free: 14.96 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005106/2.837, allocations: 185.8 kB / 0.8306 GB, free: 14.81 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001605/2.839, allocations: 324.1 kB / 0.8309 GB, free: 14.62 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000722/2.84, allocations: 91.5 kB / 0.831 GB, free: 14.54 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00894/2.849, allocations: 2.919 MB / 0.8338 GB, free: 11.91 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.533e-06/2.849, allocations: 0 / 0.8338 GB, free: 11.91 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.009567/2.858, allocations: 1.473 MB / 0.8353 GB, free: 10.45 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02415/2.882, allocations: 9.908 MB / 0.845 GB, free: 1.332 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01465/2.897, allocations: 5.276 MB / 0.8501 GB, free: 12.48 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.897, allocations: 4 kB / 0.8501 GB, free: 12.48 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01066/2.908, allocations: 3.834 MB / 0.8539 GB, free: 8.965 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009816/2.918, allocations: 1.169 MB / 0.855 GB, free: 8.059 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3948/3.313, allocations: 14.02 MB / 0.8687 GB, free: 101.3 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01265/3.325, allocations: 5.241 MB / 0.8738 GB, free: 100.5 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.006885/3.332, allocations: 1.002 MB / 0.8748 GB, free: 100.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00727/3.34, allocations: 2.999 MB / 0.8777 GB, free: 100.4 MB / 490.8 MB Notification: Performance of SimCode: time 1.653e-06/3.34, allocations: 1.062 kB / 0.8777 GB, free: 100.4 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.328/3.668, allocations: 125.7 MB / 1 GB, free: 35.19 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/3.668, allocations: 250.6 kB / 1.001 GB, free: 34.85 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.009/10.68, allocations: 0 / 1.001 GB, free: 34.85 MB / 490.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat does not exist to compare? outputFormat=mat