Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.821e-05, allocations: 5.562 kB / 292.2 MB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 50.4 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5663/0.6966, allocations: 103.3 MB / 446 MB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.6969, allocations: 84.83 kB / 446.1 MB, free: 6.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1701/0.8671, allocations: 41.16 MB / 487.2 MB, free: 2.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.8671, allocations: 0 / 487.2 MB, free: 2.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.8673, allocations: 55.86 kB / 487.3 MB, free: 2.059 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006717/0.8741, allocations: 1.984 MB / 489.3 MB, free: 24 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.8741, allocations: 8.031 kB / 489.3 MB, free: 16 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008133/0.875, allocations: 273.7 kB / 489.5 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.8761, allocations: 265.2 kB / 489.8 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004377/0.8805, allocations: 1.408 MB / 491.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.8807, allocations: 135.6 kB / 491.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005254/0.8813, allocations: 191.9 kB / 491.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.8876, allocations: 2.291 MB / 493.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.983e-05/0.8877, allocations: 7.906 kB / 493.8 MB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.888, allocations: 75.95 kB / 493.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/0.8881, allocations: 83.48 kB / 494 MB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/0.8936, allocations: 1.819 MB / 495.8 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.9135, allocations: 7.495 MB / 0.4915 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.9167, allocations: 1.271 MB / 0.4927 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.9191, allocations: 0.8178 MB / 0.4935 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003915/0.9195, allocations: 130.6 kB / 0.4937 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.9195, allocations: 47.28 kB / 0.4937 GB, free: 15.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 5.561e-06/0.9196, allocations: 3.938 kB / 0.4937 GB, free: 15.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=103): time 0.01288/0.9324, allocations: 4.097 MB / 0.4977 GB, free: 11.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.9325, allocations: 64.41 kB / 0.4978 GB, free: 11.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.9353, allocations: 1.184 MB / 0.4989 GB, free: 9.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.9356, allocations: 45.7 kB / 0.499 GB, free: 9.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008336/0.9364, allocations: 0.8632 MB / 0.4998 GB, free: 8.902 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/0.9369, allocations: 358.8 kB / 0.5002 GB, free: 8.547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.9371, allocations: 24 kB / 0.5002 GB, free: 8.523 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.9373, allocations: 366.8 kB / 0.5005 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.9389, allocations: 0.6 MB / 0.5011 GB, free: 7.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/0.9407, allocations: 0.897 MB / 0.502 GB, free: 6.539 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.9426, allocations: 0.7465 MB / 0.5027 GB, free: 5.789 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.9426, allocations: 0 / 0.5027 GB, free: 5.789 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006688/0.9493, allocations: 2.263 MB / 0.5049 GB, free: 3.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9494, allocations: 15.95 kB / 0.5049 GB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.9494, allocations: 8 kB / 0.505 GB, free: 3.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.953, allocations: 0.7704 MB / 0.5057 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.9548, allocations: 239.6 kB / 0.5059 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.9733, allocations: 8.557 MB / 0.5143 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.9752, allocations: 87.91 kB / 0.5144 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.9754, allocations: 44 kB / 0.5144 GB, free: 9.52 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003579/0.9758, allocations: 172.8 kB / 0.5146 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003852/0.9762, allocations: 146.2 kB / 0.5147 GB, free: 9.199 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/0.9816, allocations: 1.866 MB / 0.5165 GB, free: 7.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.9817, allocations: 8 kB / 0.5165 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.9817, allocations: 4 kB / 0.5166 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.9817, allocations: 7.938 kB / 0.5166 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/0.9925, allocations: 3.96 MB / 0.5204 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.9926, allocations: 4 kB / 0.5204 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/0.9943, allocations: 191.7 kB / 0.5206 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002172/0.9965, allocations: 467.1 kB / 0.5211 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.9966, allocations: 31.98 kB / 0.5211 GB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3163/1.313, allocations: 6.152 MB / 0.5271 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.313, allocations: 6.234 kB / 0.5271 GB, free: 117.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006905/1.32, allocations: 2.868 MB / 0.5299 GB, free: 116.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.321, allocations: 359.2 kB / 0.5302 GB, free: 116.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/1.322, allocations: 28.66 kB / 0.5303 GB, free: 116.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.323, allocations: 77.38 kB / 0.5303 GB, free: 116.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.324, allocations: 84.03 kB / 0.5304 GB, free: 116.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.324, allocations: 32.89 kB / 0.5305 GB, free: 116.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002446/1.326, allocations: 0.9083 MB / 0.5313 GB, free: 116.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.326, allocations: 0 / 0.5313 GB, free: 116.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002864/1.329, allocations: 476.3 kB / 0.5318 GB, free: 116.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.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 (88): * Single equations (assignments): 84 * 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.008091/1.337, allocations: 4.218 MB / 0.5359 GB, free: 115 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005542/1.343, allocations: 1.953 MB / 0.5378 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.343, allocations: 4.719 kB / 0.5378 GB, free: 114.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003407/1.346, allocations: 1.305 MB / 0.5391 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.35, allocations: 349.1 kB / 0.5394 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.361, allocations: 3.837 MB / 0.5432 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00199/1.364, allocations: 1.715 MB / 0.5449 GB, free: 112.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.365, allocations: 0.7152 MB / 0.5456 GB, free: 112.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.455e-06/1.365, allocations: 0 / 0.5456 GB, free: 112.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.51/4.875, allocations: 60.74 MB / 0.6049 GB, free: 81.61 MB / 442.7 MB