Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.192e-05, allocations: 8 kB / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09534, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5485, allocations: 111.8 MB / 428.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5488, allocations: 86.2 kB / 428.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9135/1.462, allocations: 182.7 MB / 0.5973 GB, free: 74.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.462, allocations: 0 / 0.5973 GB, free: 74.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000785/1.463, allocations: 197.6 kB / 0.5975 GB, free: 74.42 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03166/1.495, allocations: 7.618 MB / 0.6049 GB, free: 69.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.495, allocations: 8.031 kB / 0.6049 GB, free: 69.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004063/1.499, allocations: 1.094 MB / 0.606 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/1.514, allocations: 1.823 MB / 0.6078 GB, free: 66.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02236/1.536, allocations: 6.963 MB / 0.6146 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006487/1.537, allocations: 0.5894 MB / 0.6152 GB, free: 58.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003141/1.54, allocations: 0.788 MB / 0.6159 GB, free: 57.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/1.571, allocations: 10.69 MB / 0.6264 GB, free: 47.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002875/1.571, allocations: 7.906 kB / 0.6264 GB, free: 47.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/1.573, allocations: 335.9 kB / 0.6267 GB, free: 46.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003695/1.573, allocations: 372.2 kB / 0.627 GB, free: 46.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02618/1.6, allocations: 8.892 MB / 0.6357 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08135/1.681, allocations: 34.55 MB / 0.6695 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3407/2.022, allocations: 19.62 MB / 0.6886 GB, free: 51.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009861/2.032, allocations: 3.61 MB / 0.6922 GB, free: 51.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02578/2.058, allocations: 9.405 MB / 0.7013 GB, free: 50.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/2.058, allocations: 69.67 kB / 0.7014 GB, free: 50.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 5.841e-06/2.058, allocations: 0 / 0.7014 GB, free: 50.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.02494/2.083, allocations: 10.03 MB / 0.7112 GB, free: 49.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/2.083, allocations: 89.38 kB / 0.7113 GB, free: 49.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00827/2.091, allocations: 3.832 MB / 0.715 GB, free: 48.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007085/2.092, allocations: 80.89 kB / 0.7151 GB, free: 48.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002755/2.095, allocations: 3.53 MB / 0.7186 GB, free: 47.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001442/2.096, allocations: 1.083 MB / 0.7196 GB, free: 46.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000363/2.096, allocations: 78.94 kB / 0.7197 GB, free: 46.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002345/2.097, allocations: 459.9 kB / 0.7201 GB, free: 46.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/2.101, allocations: 1.686 MB / 0.7218 GB, free: 46.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004419/2.105, allocations: 2.694 MB / 0.7244 GB, free: 45.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004792/2.11, allocations: 2.171 MB / 0.7265 GB, free: 45.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-05/2.11, allocations: 11.28 kB / 0.7265 GB, free: 45.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01379/2.124, allocations: 5.65 MB / 0.732 GB, free: 43.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/2.124, allocations: 18.69 kB / 0.7321 GB, free: 43.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.805e-05/2.124, allocations: 34.88 kB / 0.7321 GB, free: 43.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/2.127, allocations: 0.7981 MB / 0.7329 GB, free: 43.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006028/2.133, allocations: 0.8066 MB / 0.7337 GB, free: 43.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/2.151, allocations: 14.79 MB / 0.7481 GB, free: 31.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005497/2.156, allocations: 186.5 kB / 0.7483 GB, free: 31.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005388/2.157, allocations: 160.6 kB / 0.7484 GB, free: 31.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009022/2.158, allocations: 335.4 kB / 0.7488 GB, free: 31.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/2.159, allocations: 457.5 kB / 0.7492 GB, free: 30.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/2.172, allocations: 5.395 MB / 0.7545 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-05/2.173, allocations: 30 kB / 0.7545 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/2.173, allocations: 19.72 kB / 0.7545 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/2.173, allocations: 14.48 kB / 0.7545 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02994/2.203, allocations: 12.33 MB / 0.7666 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/2.203, allocations: 3.094 kB / 0.7666 GB, free: 23.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/2.206, allocations: 372.9 kB / 0.7669 GB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005589/2.211, allocations: 1.357 MB / 0.7683 GB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004133/2.212, allocations: 91.8 kB / 0.7683 GB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03367/2.245, allocations: 23.93 MB / 0.7917 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/2.245, allocations: 3.719 kB / 0.7917 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02623/2.272, allocations: 8.672 MB / 0.8002 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003669/2.275, allocations: 0.9493 MB / 0.8011 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/2.277, allocations: 83.48 kB / 0.8012 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/2.281, allocations: 183 kB / 0.8014 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001064/2.282, allocations: 326.3 kB / 0.8017 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/2.282, allocations: 95.66 kB / 0.8018 GB, free: 14.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007304/2.289, allocations: 2.926 MB / 0.8046 GB, free: 11.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.289, allocations: 0 / 0.8046 GB, free: 11.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008127/2.298, allocations: 1.47 MB / 0.8061 GB, free: 10.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02199/2.32, allocations: 10.03 MB / 0.8158 GB, free: 1.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/2.333, allocations: 5.249 MB / 0.821 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/2.333, allocations: 3.938 kB / 0.821 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009965/2.343, allocations: 3.856 MB / 0.8247 GB, free: 8.703 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008812/2.352, allocations: 1.174 MB / 0.8259 GB, free: 7.793 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04326/2.395, allocations: 14.1 MB / 0.8397 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00945/2.404, allocations: 5.241 MB / 0.8448 GB, free: 7.613 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006152/2.411, allocations: 0.9999 MB / 0.8458 GB, free: 6.918 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006996/2.418, allocations: 3.017 MB / 0.8487 GB, free: 4.109 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/2.418, allocations: 0 / 0.8487 GB, free: 4.109 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6266/3.044, allocations: 125.5 MB / 0.9713 GB, free: 49 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/3.045, allocations: 206.2 kB / 0.9715 GB, free: 48.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.884/9.928, allocations: 0 / 0.9715 GB, free: 48.77 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat does not exist to compare? outputFormat=mat