Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start_MultiPhase",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.459/2.459, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.686e-05, allocations: 3.594 kB / 249.8 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5696/0.6758, allocations: 109.4 MB / 403.7 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.6763, allocations: 79.45 kB / 403.8 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421/2.097, allocations: 219.4 MB / 0.6086 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/2.097, allocations: 0 / 0.6086 GB, free: 29.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00124/2.098, allocations: 254.6 kB / 0.6088 GB, free: 28.8 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2681 * Number of variables: 2681 Notification: Performance of Generate backend data structure: time 0.04978/2.148, allocations: 9.579 MB / 0.6182 GB, free: 19.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/2.148, allocations: 9.156 kB / 0.6182 GB, free: 19.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006937/2.155, allocations: 0.9718 MB / 0.6191 GB, free: 18.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02205/2.177, allocations: 2.129 MB / 0.6212 GB, free: 16.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04019/2.217, allocations: 8.897 MB / 0.6299 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009525/2.218, allocations: 432.4 kB / 0.6303 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005024/2.223, allocations: 0.5896 MB / 0.6309 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4378/2.661, allocations: 10.8 MB / 0.6414 GB, free: 29.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05724/2.718, allocations: 12.31 MB / 0.6534 GB, free: 28.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007465/2.719, allocations: 8.594 kB / 0.6535 GB, free: 28.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00446/2.724, allocations: 11.22 kB / 0.6535 GB, free: 28.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007346/2.725, allocations: 455.3 kB / 0.6539 GB, free: 28.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1476/2.872, allocations: 42.16 MB / 0.6951 GB, free: 20.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04672/2.919, allocations: 24.28 MB / 0.7188 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01542/2.934, allocations: 4.715 MB / 0.7234 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04919/2.984, allocations: 11.74 MB / 0.7348 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/2.984, allocations: 89.66 kB / 0.7349 GB, free: 7.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=419): time 9.608e-06/2.984, allocations: 0 / 0.7349 GB, free: 7.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=425): time 0.05927/3.043, allocations: 14 MB / 0.7486 GB, free: 1.688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/3.043, allocations: 93.84 kB / 0.7487 GB, free: 1.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/3.057, allocations: 3.776 MB / 0.7524 GB, free: 176 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001192/3.058, allocations: 31.2 kB / 0.7524 GB, free: 144 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006996/3.065, allocations: 4.455 MB / 0.7568 GB, free: 12.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002999/3.068, allocations: 1.352 MB / 0.7581 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001187/3.07, allocations: 0 / 0.7581 GB, free: 11.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006782/3.07, allocations: 498.8 kB / 0.7586 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007342/3.078, allocations: 2.175 MB / 0.7607 GB, free: 10.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009/3.087, allocations: 3.282 MB / 0.7639 GB, free: 8.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/3.098, allocations: 3.009 MB / 0.7668 GB, free: 7.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-05/3.098, allocations: 7.562 kB / 0.7668 GB, free: 7.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=614) (initialization): time 0.03059/3.129, allocations: 7.55 MB / 0.7742 GB, free: 3.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/3.129, allocations: 26.62 kB / 0.7742 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.282e-05/3.129, allocations: 32 kB / 0.7743 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007735/3.137, allocations: 1.425 MB / 0.7756 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/3.147, allocations: 0.9796 MB / 0.7766 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4909/3.638, allocations: 25.65 MB / 0.8017 GB, free: 66.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007897/3.646, allocations: 137.2 kB / 0.8018 GB, free: 66.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001521/3.647, allocations: 194.7 kB / 0.802 GB, free: 66.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (526): * Single equations (assignments): 510 * 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: 14 * 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: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 22,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002449/3.65, allocations: 239.4 kB / 0.8022 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002223/3.652, allocations: 0.5207 MB / 0.8027 GB, free: 66.81 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0305/3.683, allocations: 7.523 MB / 0.8101 GB, free: 66.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/3.683, allocations: 40.12 kB / 0.8101 GB, free: 66.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000125/3.683, allocations: 28.81 kB / 0.8101 GB, free: 66.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001471/3.683, allocations: 21.84 kB / 0.8101 GB, free: 66.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05624/3.739, allocations: 14.89 MB / 0.8247 GB, free: 64.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.204e-05/3.74, allocations: 3.438 kB / 0.8247 GB, free: 64.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006949/3.747, allocations: 458 kB / 0.8251 GB, free: 64.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01518/3.762, allocations: 2.164 MB / 0.8272 GB, free: 64.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001173/3.763, allocations: 42.12 kB / 0.8273 GB, free: 64.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08859/3.852, allocations: 33.29 MB / 0.8598 GB, free: 48.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/3.852, allocations: 3.594 kB / 0.8598 GB, free: 48.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03577/3.887, allocations: 11.27 MB / 0.8708 GB, free: 47.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005187/3.893, allocations: 1.129 MB / 0.8719 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002321/3.895, allocations: 10.84 kB / 0.8719 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007392/3.902, allocations: 189.8 kB / 0.8721 GB, free: 46.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002587/3.905, allocations: 437.1 kB / 0.8725 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009031/3.906, allocations: 118.3 kB / 0.8726 GB, free: 46.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008816/3.915, allocations: 2.824 MB / 0.8754 GB, free: 45.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/3.915, allocations: 0 / 0.8754 GB, free: 45.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01277/3.928, allocations: 1.682 MB / 0.877 GB, free: 45.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,aims3.rotor.zeroInductor.i0,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (241): * Single equations (assignments): 228 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03687/3.965, allocations: 12.91 MB / 0.8896 GB, free: 38.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02013/3.985, allocations: 7.285 MB / 0.8967 GB, free: 35.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/3.985, allocations: 6.062 kB / 0.8968 GB, free: 35.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02278/4.008, allocations: 5.343 MB / 0.902 GB, free: 32.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01881/4.027, allocations: 1.176 MB / 0.9031 GB, free: 31.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09769/4.124, allocations: 17.59 MB / 0.9203 GB, free: 21.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02279/4.147, allocations: 6.541 MB / 0.9267 GB, free: 16.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009417/4.157, allocations: 1.181 MB / 0.9278 GB, free: 16.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01124/4.168, allocations: 3.874 MB / 0.9316 GB, free: 12.42 MB / 442.7 MB Notification: Performance of SimCode: time 2.265e-06/4.168, allocations: 4 kB / 0.9316 GB, free: 12.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.089/5.257, allocations: 146.6 MB / 1.075 GB, free: 13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002758/5.257, allocations: 184.1 kB / 1.075 GB, free: 12.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.33/16.59, allocations: 3.906 kB / 1.075 GB, free: 12.8 MB / 442.7 MB