Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.58e-05, allocations: 7.984 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 50.42 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.5831, allocations: 112.3 MB / 455 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.5834, allocations: 87.89 kB / 455 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6758/1.259, allocations: 93.8 MB / 0.536 GB, free: 90.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.259, allocations: 1.125 kB / 0.536 GB, free: 90.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005132/1.26, allocations: 95.05 kB / 0.5361 GB, free: 90.31 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01554/1.275, allocations: 3.563 MB / 0.5396 GB, free: 89.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.276, allocations: 9.375 kB / 0.5396 GB, free: 89.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002217/1.278, allocations: 0.4974 MB / 0.5401 GB, free: 89.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00326/1.281, allocations: 0.4999 MB / 0.5405 GB, free: 88.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009481/1.291, allocations: 2.553 MB / 0.543 GB, free: 88.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/1.291, allocations: 265.1 kB / 0.5433 GB, free: 88.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/1.293, allocations: 355.6 kB / 0.5436 GB, free: 88.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/1.308, allocations: 4.79 MB / 0.5483 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/1.309, allocations: 7.562 kB / 0.5483 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009779/1.31, allocations: 152.2 kB / 0.5485 GB, free: 87.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/1.31, allocations: 180.8 kB / 0.5486 GB, free: 87.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/1.322, allocations: 3.851 MB / 0.5524 GB, free: 87.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04113/1.363, allocations: 14.95 MB / 0.567 GB, free: 84.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006761/1.37, allocations: 4.128 MB / 0.571 GB, free: 82.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00447/1.375, allocations: 1.83 MB / 0.5728 GB, free: 81.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005478/1.375, allocations: 146.6 kB / 0.573 GB, free: 81.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/1.375, allocations: 55.17 kB / 0.573 GB, free: 81.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 4.889e-06/1.375, allocations: 0 / 0.573 GB, free: 81.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02921/1.405, allocations: 8.339 MB / 0.5811 GB, free: 78.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.405, allocations: 75.22 kB / 0.5812 GB, free: 78.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/1.41, allocations: 2.19 MB / 0.5834 GB, free: 77.22 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005514/1.411, allocations: 64.55 kB / 0.5834 GB, free: 77.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/1.412, allocations: 1.479 MB / 0.5849 GB, free: 75.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.413, allocations: 0.7346 MB / 0.5856 GB, free: 75.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/1.414, allocations: 43.5 kB / 0.5856 GB, free: 75.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/1.414, allocations: 410.8 kB / 0.586 GB, free: 74.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.417, allocations: 1.233 MB / 0.5872 GB, free: 74.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003612/1.42, allocations: 1.65 MB / 0.5888 GB, free: 73.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/1.424, allocations: 1.494 MB / 0.5903 GB, free: 73.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/1.424, allocations: 3.5 kB / 0.5903 GB, free: 73.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01024/1.435, allocations: 3.705 MB / 0.5939 GB, free: 71.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/1.435, allocations: 10.84 kB / 0.5939 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.057e-05/1.435, allocations: 10.75 kB / 0.5939 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/1.438, allocations: 0.7574 MB / 0.5947 GB, free: 71.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/1.442, allocations: 0.5328 MB / 0.5952 GB, free: 71.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/1.456, allocations: 8.707 MB / 0.6037 GB, free: 65.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/1.46, allocations: 121.7 kB / 0.6038 GB, free: 65.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005979/1.46, allocations: 89.09 kB / 0.6039 GB, free: 65.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006332/1.461, allocations: 240.6 kB / 0.6041 GB, free: 65.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009443/1.462, allocations: 273.1 kB / 0.6044 GB, free: 65.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.472, allocations: 3.631 MB / 0.6079 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.472, allocations: 28.92 kB / 0.608 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.472, allocations: 10.56 kB / 0.608 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.301e-05/1.472, allocations: 7.781 kB / 0.608 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02254/1.495, allocations: 7.94 MB / 0.6157 GB, free: 60.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/1.495, allocations: 3.75 kB / 0.6157 GB, free: 60.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/1.498, allocations: 402.4 kB / 0.6161 GB, free: 60.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003747/1.502, allocations: 0.8026 MB / 0.6169 GB, free: 59.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005274/1.503, allocations: 57.42 kB / 0.617 GB, free: 59.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/1.518, allocations: 10.22 MB / 0.6269 GB, free: 49.64 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.518, allocations: 0 / 0.6269 GB, free: 49.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/1.531, allocations: 5.622 MB / 0.6324 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/1.534, allocations: 0.6437 MB / 0.6331 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.535, allocations: 51.19 kB / 0.6331 GB, free: 43.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003337/1.538, allocations: 128.2 kB / 0.6332 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008055/1.539, allocations: 184 kB / 0.6334 GB, free: 43.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000238/1.539, allocations: 63.03 kB / 0.6335 GB, free: 43.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003999/1.543, allocations: 1.677 MB / 0.6351 GB, free: 42.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.543, allocations: 0 / 0.6351 GB, free: 42.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004684/1.548, allocations: 0.8356 MB / 0.6359 GB, free: 41.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01449/1.563, allocations: 7.132 MB / 0.6429 GB, free: 34.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008912/1.572, allocations: 3.709 MB / 0.6465 GB, free: 31.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.572, allocations: 8.125 kB / 0.6465 GB, free: 31.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006075/1.578, allocations: 2.379 MB / 0.6488 GB, free: 29.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006127/1.584, allocations: 0.7426 MB / 0.6496 GB, free: 28.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/1.606, allocations: 7.438 MB / 0.6568 GB, free: 22.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004396/1.611, allocations: 2.794 MB / 0.6596 GB, free: 19.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003505/1.614, allocations: 1.406 MB / 0.6609 GB, free: 18.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/1.614, allocations: 0 / 0.6609 GB, free: 18.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.602/6.216, allocations: 154.8 MB / 0.8121 GB, free: 36.76 MB / 458.7 MB