Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 225.8 MB / 239.3 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.035e-05, allocations: 8.922 kB / 292.8 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 50.42 MB / 343.2 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.6012, allocations: 123.4 MB / 466.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.6016, allocations: 98.67 kB / 466.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8653/1.467, allocations: 117.9 MB / 0.5708 GB, free: 75.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.467, allocations: 0 / 0.5708 GB, free: 75.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006113/1.468, allocations: 135.3 kB / 0.5709 GB, free: 75.19 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02101/1.489, allocations: 4.941 MB / 0.5757 GB, free: 73.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.489, allocations: 8.938 kB / 0.5758 GB, free: 73.49 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002902/1.492, allocations: 0.7019 MB / 0.5764 GB, free: 73.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007778/1.499, allocations: 0.9966 MB / 0.5774 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/1.516, allocations: 4.604 MB / 0.5819 GB, free: 72.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005235/1.517, allocations: 388.4 kB / 0.5823 GB, free: 72.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/1.519, allocations: 0.507 MB / 0.5828 GB, free: 72.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/1.541, allocations: 6.646 MB / 0.5893 GB, free: 71.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003127/1.542, allocations: 22.11 kB / 0.5893 GB, free: 71.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/1.544, allocations: 216.5 kB / 0.5895 GB, free: 71.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003166/1.544, allocations: 232.2 kB / 0.5897 GB, free: 71.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/1.562, allocations: 5.36 MB / 0.595 GB, free: 71.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05647/1.618, allocations: 21.42 MB / 0.6159 GB, free: 65.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/1.631, allocations: 8.638 MB / 0.6243 GB, free: 57.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00574/1.636, allocations: 2.205 MB / 0.6265 GB, free: 57.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01878/1.655, allocations: 6.181 MB / 0.6325 GB, free: 54.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/1.655, allocations: 56.12 kB / 0.6326 GB, free: 53.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 5.47e-06/1.655, allocations: 0 / 0.6326 GB, free: 53.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.03016/1.685, allocations: 8.96 MB / 0.6413 GB, free: 50.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/1.686, allocations: 75.25 kB / 0.6414 GB, free: 50.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/1.692, allocations: 2.582 MB / 0.6439 GB, free: 49.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005673/1.693, allocations: 68.89 kB / 0.644 GB, free: 49.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002024/1.695, allocations: 2.305 MB / 0.6462 GB, free: 47.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.696, allocations: 0.813 MB / 0.647 GB, free: 46.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003193/1.696, allocations: 54.88 kB / 0.6471 GB, free: 46.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/1.697, allocations: 423.1 kB / 0.6475 GB, free: 46.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/1.7, allocations: 1.291 MB / 0.6487 GB, free: 45.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/1.704, allocations: 2.028 MB / 0.6507 GB, free: 44.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/1.708, allocations: 1.648 MB / 0.6523 GB, free: 43.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/1.708, allocations: 7.156 kB / 0.6523 GB, free: 43.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01239/1.721, allocations: 4.461 MB / 0.6567 GB, free: 41.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/1.721, allocations: 15.53 kB / 0.6567 GB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-05/1.721, allocations: 24.42 kB / 0.6567 GB, free: 41.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/1.724, allocations: 0.7534 MB / 0.6574 GB, free: 41.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00491/1.729, allocations: 0.6386 MB / 0.6581 GB, free: 41.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/1.744, allocations: 13.34 MB / 0.6711 GB, free: 27.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/1.748, allocations: 166.3 kB / 0.6713 GB, free: 27.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007417/1.749, allocations: 116 kB / 0.6714 GB, free: 27.5 MB / 442.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.00075/1.75, allocations: 279.8 kB / 0.6716 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/1.751, allocations: 330.8 kB / 0.672 GB, free: 26.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01154/1.762, allocations: 4.111 MB / 0.676 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.762, allocations: 20 kB / 0.676 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.364e-05/1.762, allocations: 12 kB / 0.676 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-05/1.762, allocations: 11.58 kB / 0.676 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.788, allocations: 9.016 MB / 0.6848 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.788, allocations: 4 kB / 0.6848 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/1.791, allocations: 392.3 kB / 0.6852 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004152/1.795, allocations: 0.9181 MB / 0.6861 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005951/1.796, allocations: 70.08 kB / 0.6862 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02112/1.817, allocations: 16.51 MB / 0.7023 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.817, allocations: 7.953 kB / 0.7023 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/1.834, allocations: 6.264 MB / 0.7084 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/1.837, allocations: 0.7065 MB / 0.7091 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.839, allocations: 59.94 kB / 0.7091 GB, free: 7.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/1.843, allocations: 141.8 kB / 0.7093 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009707/1.844, allocations: 192.9 kB / 0.7095 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002946/1.844, allocations: 73.19 kB / 0.7095 GB, free: 7.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005665/1.85, allocations: 1.968 MB / 0.7115 GB, free: 5.594 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.85, allocations: 0 / 0.7115 GB, free: 5.594 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006289/1.856, allocations: 1.015 MB / 0.7124 GB, free: 4.582 MB / 458.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%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3442/2.2, allocations: 8.169 MB / 0.7204 GB, free: 79.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/2.211, allocations: 4.346 MB / 0.7247 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/2.211, allocations: 0.9688 kB / 0.7247 GB, free: 78.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007774/2.219, allocations: 2.912 MB / 0.7275 GB, free: 77.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00731/2.227, allocations: 0.8448 MB / 0.7283 GB, free: 77.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/2.257, allocations: 9.621 MB / 0.7377 GB, free: 75.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0063/2.263, allocations: 3.517 MB / 0.7412 GB, free: 74.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004732/2.268, allocations: 0.7625 MB / 0.7419 GB, free: 74.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004315/2.272, allocations: 1.953 MB / 0.7438 GB, free: 74.71 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/2.272, allocations: 0 / 0.7438 GB, free: 74.71 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2325/2.505, allocations: 87.3 MB / 0.8291 GB, free: 41.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/2.505, allocations: 214.4 kB / 0.8293 GB, free: 41.09 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.658/8.163, allocations: 0 / 0.8293 GB, free: 41.09 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat