Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.082/2.082, allocations: 214.7 MB / 226.8 MB, free: 1.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.474e-05, allocations: 7.984 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5656/0.6768, allocations: 159.7 MB / 489 MB, free: 5.449 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.6771, allocations: 74.78 kB / 489 MB, free: 5.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.222/3.899, allocations: 0.571 GB / 1.049 GB, free: 18.13 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/3.899, allocations: 1.641 kB / 1.049 GB, free: 18.13 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001901/3.901, allocations: 421 kB / 1.049 GB, free: 18.13 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.08989/3.991, allocations: 17.01 MB / 1.066 GB, free: 13.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/3.991, allocations: 13.84 kB / 1.066 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01566/4.006, allocations: 2.955 MB / 1.069 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07565/4.082, allocations: 8.478 MB / 1.077 GB, free: 12.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05329/4.136, allocations: 14.57 MB / 1.091 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00228/4.138, allocations: 1.345 MB / 1.092 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009095/4.147, allocations: 1.741 MB / 1.094 GB, free: 10.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1268/4.274, allocations: 30.14 MB / 1.123 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001403/4.275, allocations: 26.64 kB / 1.123 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01029/4.286, allocations: 0.748 MB / 1.124 GB, free: 8.406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0027/4.288, allocations: 1.193 MB / 1.125 GB, free: 8.363 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1262/4.415, allocations: 26.91 MB / 1.152 GB, free: 4.531 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.772/5.187, allocations: 98.83 MB / 1.248 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05563/5.242, allocations: 35.2 MB / 1.283 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03155/5.274, allocations: 12.77 MB / 1.295 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1152/5.389, allocations: 39.29 MB / 1.333 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/5.389, allocations: 153 kB / 1.334 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1269): time 1.805e-05/5.39, allocations: 0 / 1.334 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1277): time 0.1393/5.529, allocations: 45.77 MB / 1.378 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/5.529, allocations: 185.5 kB / 1.378 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01484/5.544, allocations: 4.985 MB / 1.383 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002931/5.547, allocations: 199.2 kB / 1.383 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005772/5.553, allocations: 6.676 MB / 1.39 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.007785/5.56, allocations: 4.184 MB / 1.394 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003378/5.564, allocations: 216 kB / 1.394 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00177/5.566, allocations: 0.8062 MB / 1.395 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0242/5.59, allocations: 8.15 MB / 1.403 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03598/5.626, allocations: 10.81 MB / 1.414 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02872/5.655, allocations: 9.783 MB / 1.423 GB, free: 5.086 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.797e-05/5.655, allocations: 16 kB / 1.423 GB, free: 5.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.5947/6.25, allocations: 25.19 MB / 1.448 GB, free: 84.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/6.25, allocations: 27.69 kB / 1.448 GB, free: 84.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002533/6.25, allocations: 54.19 kB / 1.448 GB, free: 84.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04707/6.297, allocations: 8.943 MB / 1.457 GB, free: 84.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01569/6.313, allocations: 1.867 MB / 1.458 GB, free: 84.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05347/6.366, allocations: 30.41 MB / 1.488 GB, free: 73.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/6.38, allocations: 0.5516 MB / 1.489 GB, free: 73.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003791/6.384, allocations: 464.4 kB / 1.489 GB, free: 73.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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: 7 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.007076/6.391, allocations: 0.6827 MB / 1.49 GB, free: 73.02 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005083/6.396, allocations: 0.848 MB / 1.491 GB, free: 73.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0784/6.475, allocations: 25.36 MB / 1.515 GB, free: 72.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05467/6.53, allocations: 20.05 MB / 1.535 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.066e-05/6.53, allocations: 18.41 kB / 1.535 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002899/6.53, allocations: 53.86 kB / 1.535 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1477/6.678, allocations: 48.19 MB / 1.582 GB, free: 42.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002445/6.678, allocations: 7.031 kB / 1.582 GB, free: 42.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02023/6.698, allocations: 1.349 MB / 1.583 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04926/6.748, allocations: 9.06 MB / 1.592 GB, free: 34.29 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004146/6.752, allocations: 272.4 kB / 1.592 GB, free: 34.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5377/7.29, allocations: 36.5 MB / 1.628 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.377e-06/7.29, allocations: 7.344 kB / 1.628 GB, free: 83.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.11/7.4, allocations: 37.72 MB / 1.665 GB, free: 81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01198/7.412, allocations: 2.809 MB / 1.668 GB, free: 80.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005538/7.417, allocations: 189 kB / 1.668 GB, free: 80.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01304/7.43, allocations: 0.514 MB / 1.668 GB, free: 80.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007008/7.437, allocations: 0.965 MB / 1.669 GB, free: 80.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00489/7.442, allocations: 344 kB / 1.67 GB, free: 80.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01617/7.459, allocations: 3.783 MB / 1.673 GB, free: 80.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.513e-06/7.459, allocations: 0 / 1.673 GB, free: 80.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02938/7.488, allocations: 3.247 MB / 1.677 GB, free: 80.65 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi,imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi) * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.1346/7.623, allocations: 39.7 MB / 1.715 GB, free: 74.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.05906/7.682, allocations: 20.88 MB / 1.736 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/7.682, allocations: 1.562 kB / 1.736 GB, free: 65.88 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.03584/7.718, allocations: 12.07 MB / 1.747 GB, free: 60.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01892/7.737, allocations: 1.967 MB / 1.749 GB, free: 60.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1458/7.883, allocations: 39.56 MB / 1.788 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02677/7.91, allocations: 11.93 MB / 1.8 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01775/7.927, allocations: 2.629 MB / 1.802 GB, free: 17.42 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01864/7.946, allocations: 6.765 MB / 1.809 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of SimCode: time 2.234e-06/7.946, allocations: 0 / 1.809 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.754/9.7, allocations: 332.8 MB / 2.134 GB, free: 85.94 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/9.7, allocations: 181.8 kB / 2.134 GB, free: 85.71 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/23.43, allocations: 0.9062 kB / 2.134 GB, free: 85.71 MB / 0.573 GB