Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DCBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.924e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4704/0.5861, allocations: 101.6 MB / 444.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.5865, allocations: 78.02 kB / 444.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1574/0.7439, allocations: 35.1 MB / 479.4 MB, free: 9.922 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.744, allocations: 0 / 479.4 MB, free: 9.922 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.7442, allocations: 47.86 kB / 479.5 MB, free: 9.875 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.007732/0.752, allocations: 1.639 MB / 481.1 MB, free: 8.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.7521, allocations: 12.03 kB / 481.1 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001089/0.7532, allocations: 227.9 kB / 481.3 MB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.7547, allocations: 217.7 kB / 481.6 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.7599, allocations: 1.18 MB / 482.7 MB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002084/0.7602, allocations: 115 kB / 482.9 MB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/0.761, allocations: 159.9 kB / 483 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008049/0.769, allocations: 1.903 MB / 484.9 MB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.7692, allocations: 0 / 484.9 MB, free: 4.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004182/0.7697, allocations: 68 kB / 485 MB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001776/0.7699, allocations: 74.91 kB / 485.1 MB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006802/0.7767, allocations: 1.458 MB / 486.5 MB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02274/0.7995, allocations: 6.316 MB / 492.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.8021, allocations: 0.8467 MB / 493.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.8039, allocations: 0.5372 MB / 494.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.8043, allocations: 129.6 kB / 494.3 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.8044, allocations: 47.11 kB / 494.4 MB, free: 10.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.318e-06/0.8044, allocations: 0 / 494.4 MB, free: 10.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.02328/0.8277, allocations: 5.357 MB / 499.7 MB, free: 5.074 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.8278, allocations: 60.19 kB / 499.8 MB, free: 5.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002565/0.8304, allocations: 0.9795 MB / 0.489 GB, free: 4.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.8307, allocations: 41.7 kB / 0.4891 GB, free: 3.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/0.8315, allocations: 0.75 MB / 0.4898 GB, free: 3.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000527/0.832, allocations: 327.3 kB / 0.4901 GB, free: 2.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.8322, allocations: 28 kB / 0.4902 GB, free: 2.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.8324, allocations: 358.7 kB / 0.4905 GB, free: 2.492 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.8339, allocations: 0.5571 MB / 0.491 GB, free: 1.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.8358, allocations: 0.8889 MB / 0.4919 GB, free: 0.8945 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.8376, allocations: 0.7075 MB / 0.4926 GB, free: 192 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.8376, allocations: 4 kB / 0.4926 GB, free: 188 kB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005833/0.8435, allocations: 1.982 MB / 0.4945 GB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.8436, allocations: 19.94 kB / 0.4946 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.8436, allocations: 12 kB / 0.4946 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/0.8463, allocations: 0.5634 MB / 0.4951 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/0.8483, allocations: 263.5 kB / 0.4954 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.8613, allocations: 7.967 MB / 0.5031 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.8631, allocations: 75.92 kB / 0.5032 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003691/0.8636, allocations: 48 kB / 0.5033 GB, free: 4.684 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 124 * 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: 4 * 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: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004171/0.864, allocations: 180.2 kB / 0.5034 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005034/0.8645, allocations: 126.4 kB / 0.5036 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/0.8703, allocations: 1.883 MB / 0.5054 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/0.8704, allocations: 8 kB / 0.5054 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.187e-05/0.8704, allocations: 8.109 kB / 0.5054 GB, free: 2.457 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/0.8704, allocations: 7.922 kB / 0.5054 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.8822, allocations: 3.872 MB / 0.5092 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.8823, allocations: 0 / 0.5092 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.8834, allocations: 119.9 kB / 0.5093 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003268/0.8867, allocations: 0.6732 MB / 0.51 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.8869, allocations: 27.98 kB / 0.51 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.9015, allocations: 7.982 MB / 0.5178 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.9016, allocations: 11.97 kB / 0.5178 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006973/0.9086, allocations: 2.718 MB / 0.5205 GB, free: 2.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/0.9097, allocations: 315.5 kB / 0.5208 GB, free: 2.125 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.91, allocations: 27.98 kB / 0.5208 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.9112, allocations: 55.94 kB / 0.5208 GB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.9115, allocations: 76.67 kB / 0.5209 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.9116, allocations: 28.08 kB / 0.5209 GB, free: 1.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001779/0.9134, allocations: 0.7513 MB / 0.5217 GB, free: 1.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9134, allocations: 0 / 0.5217 GB, free: 1.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002667/0.9161, allocations: 420 kB / 0.5221 GB, free: 0.7695 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * 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 {(5,92.0%) 21,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3114/1.228, allocations: 3.946 MB / 0.5259 GB, free: 123.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005242/1.233, allocations: 2.127 MB / 0.528 GB, free: 122.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.233, allocations: 0 / 0.528 GB, free: 122.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.236, allocations: 1.312 MB / 0.5293 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/1.239, allocations: 338.8 kB / 0.5296 GB, free: 122.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008517/1.248, allocations: 3.169 MB / 0.5327 GB, free: 121.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/1.249, allocations: 1.494 MB / 0.5342 GB, free: 121 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.251, allocations: 0.5669 MB / 0.5347 GB, free: 121 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/1.251, allocations: 1.281 kB / 0.5347 GB, free: 121 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.529/4.78, allocations: 65.09 MB / 0.5983 GB, free: 87 MB / 442.7 MB