Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.138e-05, allocations: 0 / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 342.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.49/0.5979, allocations: 104.5 MB / 447.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5982, allocations: 95.05 kB / 447.2 MB, free: 5.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1911/0.7894, allocations: 44.71 MB / 491.9 MB, free: 13.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7894, allocations: 4 kB / 491.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002186/0.7897, allocations: 59.92 kB / 491.9 MB, free: 13.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007723/0.7974, allocations: 2.189 MB / 494.1 MB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.7975, allocations: 8.031 kB / 494.1 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000885/0.7984, allocations: 303.2 kB / 494.4 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.7996, allocations: 296.8 kB / 494.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.8047, allocations: 1.527 MB / 496.3 MB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.8049, allocations: 156 kB / 496.4 MB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005692/0.8055, allocations: 207.9 kB / 496.6 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007129/0.8126, allocations: 2.621 MB / 499.2 MB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.754e-05/0.8128, allocations: 7.953 kB / 499.2 MB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003275/0.8131, allocations: 84 kB / 499.3 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.8133, allocations: 87.94 kB / 499.4 MB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/0.8196, allocations: 2.105 MB / 0.4898 GB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.8417, allocations: 8.442 MB / 0.498 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/0.8452, allocations: 1.756 MB / 0.4997 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.8478, allocations: 0.9691 MB / 0.5007 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004014/0.8483, allocations: 134 kB / 0.5008 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.8483, allocations: 44.22 kB / 0.5008 GB, free: 7.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 3.977e-06/0.8484, allocations: 0 / 0.5008 GB, free: 7.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.0191/0.8675, allocations: 5.229 MB / 0.5059 GB, free: 2.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.8676, allocations: 72.36 kB / 0.506 GB, free: 2.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.8706, allocations: 1.297 MB / 0.5073 GB, free: 1.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.8709, allocations: 53.7 kB / 0.5073 GB, free: 1.074 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008886/0.8718, allocations: 0.9297 MB / 0.5082 GB, free: 136 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.8724, allocations: 430 kB / 0.5086 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.8726, allocations: 24 kB / 0.5087 GB, free: 15.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.8728, allocations: 370.7 kB / 0.509 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.8745, allocations: 0.695 MB / 0.5097 GB, free: 14.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.8765, allocations: 0.9963 MB / 0.5107 GB, free: 13.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002032/0.8786, allocations: 0.8442 MB / 0.5115 GB, free: 12.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.8786, allocations: 8 kB / 0.5115 GB, free: 12.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005743/0.8844, allocations: 2.132 MB / 0.5136 GB, free: 10.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.8844, allocations: 8 kB / 0.5136 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.8845, allocations: 12 kB / 0.5136 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.8861, allocations: 411.3 kB / 0.514 GB, free: 10.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.8887, allocations: 343.5 kB / 0.5143 GB, free: 9.715 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007476/0.8962, allocations: 4.645 MB / 0.5189 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.8984, allocations: 95.84 kB / 0.519 GB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.8986, allocations: 52 kB / 0.519 GB, free: 4.656 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004065/0.899, allocations: 180.7 kB / 0.5192 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.8994, allocations: 162 kB / 0.5193 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/0.9052, allocations: 2.106 MB / 0.5214 GB, free: 2.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.9053, allocations: 12 kB / 0.5214 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.9053, allocations: 4 kB / 0.5214 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.9053, allocations: 3.984 kB / 0.5214 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.306/1.211, allocations: 4.5 MB / 0.5258 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/1.211, allocations: 6.188 kB / 0.5258 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/1.214, allocations: 234.4 kB / 0.526 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/1.216, allocations: 466 kB / 0.5265 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003256/1.216, allocations: 35.86 kB / 0.5265 GB, free: 116.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008912/1.225, allocations: 6.168 MB / 0.5325 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/1.225, allocations: 5.719 kB / 0.5325 GB, free: 112.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008262/1.234, allocations: 3.291 MB / 0.5358 GB, free: 112.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/1.235, allocations: 404.3 kB / 0.5361 GB, free: 112.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/1.236, allocations: 29.94 kB / 0.5362 GB, free: 112.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.237, allocations: 84.53 kB / 0.5362 GB, free: 112.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000432/1.238, allocations: 113.7 kB / 0.5364 GB, free: 112.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.238, allocations: 39.36 kB / 0.5364 GB, free: 112.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002466/1.24, allocations: 1.003 MB / 0.5374 GB, free: 112 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.24, allocations: 0 / 0.5374 GB, free: 112 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002804/1.243, allocations: 488.1 kB / 0.5378 GB, free: 112 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.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 (108): * Single equations (assignments): 104 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009058/1.252, allocations: 4.782 MB / 0.5425 GB, free: 110.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005401/1.258, allocations: 2.169 MB / 0.5446 GB, free: 109.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.258, allocations: 4.75 kB / 0.5446 GB, free: 109.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/1.262, allocations: 1.438 MB / 0.546 GB, free: 109.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/1.265, allocations: 409.4 kB / 0.5464 GB, free: 109.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.277, allocations: 4.315 MB / 0.5506 GB, free: 108.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/1.279, allocations: 1.85 MB / 0.5524 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/1.281, allocations: 0.7958 MB / 0.5532 GB, free: 107.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/1.281, allocations: 0 / 0.5532 GB, free: 107.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.49/4.771, allocations: 78.3 MB / 0.6297 GB, free: 56.76 MB / 442.7 MB