Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.008e-05, allocations: 0 / 292.2 MB, free: 8.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 50.41 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6072, allocations: 111.1 MB / 453.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.6076, allocations: 90.83 kB / 453.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3062/0.9138, allocations: 80.74 MB / 0.5221 GB, free: 2.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.248e-06/0.9139, allocations: 0 / 0.5221 GB, free: 2.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003612/0.9142, allocations: 83.81 kB / 0.5222 GB, free: 2.113 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.3222/1.236, allocations: 3.21 MB / 0.5253 GB, free: 91.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.237, allocations: 10.92 kB / 0.5253 GB, free: 91.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002037/1.239, allocations: 459.3 kB / 0.5257 GB, free: 91.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006559/1.245, allocations: 0.7289 MB / 0.5264 GB, free: 91.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/1.259, allocations: 3.326 MB / 0.5297 GB, free: 91.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/1.259, allocations: 239.6 kB / 0.5299 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/1.261, allocations: 331.4 kB / 0.5302 GB, free: 91.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.275, allocations: 4.079 MB / 0.5342 GB, free: 90.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/1.275, allocations: 8.594 kB / 0.5342 GB, free: 90.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/1.277, allocations: 135.4 kB / 0.5344 GB, free: 90.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/1.277, allocations: 144.2 kB / 0.5345 GB, free: 90.95 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/1.293, allocations: 3.272 MB / 0.5377 GB, free: 90.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04298/1.336, allocations: 13.92 MB / 0.5513 GB, free: 88.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.349, allocations: 6.471 MB / 0.5576 GB, free: 83.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004865/1.353, allocations: 1.354 MB / 0.5589 GB, free: 83.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/1.365, allocations: 3.608 MB / 0.5625 GB, free: 82.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/1.365, allocations: 50.94 kB / 0.5625 GB, free: 82.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 6.252e-06/1.365, allocations: 0 / 0.5625 GB, free: 82.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.01371/1.379, allocations: 4.133 MB / 0.5665 GB, free: 79.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.379, allocations: 71.19 kB / 0.5666 GB, free: 79.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/1.384, allocations: 1.529 MB / 0.5681 GB, free: 79.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003556/1.384, allocations: 52.73 kB / 0.5681 GB, free: 79.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009587/1.385, allocations: 1.378 MB / 0.5695 GB, free: 78.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005404/1.386, allocations: 474 kB / 0.5699 GB, free: 77.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.386, allocations: 40.31 kB / 0.57 GB, free: 77.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/1.386, allocations: 387.4 kB / 0.5704 GB, free: 77.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/1.387, allocations: 0.6407 MB / 0.571 GB, free: 77.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/1.389, allocations: 1.123 MB / 0.5721 GB, free: 76.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/1.391, allocations: 0.8639 MB / 0.5729 GB, free: 75.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/1.391, allocations: 6.219 kB / 0.5729 GB, free: 75.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005126/1.396, allocations: 2.287 MB / 0.5752 GB, free: 74.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/1.396, allocations: 10.66 kB / 0.5752 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/1.396, allocations: 14.81 kB / 0.5752 GB, free: 74.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/1.398, allocations: 359.7 kB / 0.5755 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/1.4, allocations: 371.1 kB / 0.5759 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/1.409, allocations: 7.652 MB / 0.5834 GB, free: 68.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/1.411, allocations: 76.33 kB / 0.5834 GB, free: 68.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/1.411, allocations: 74.98 kB / 0.5835 GB, free: 68.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (188): * Single equations (assignments): 183 * 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 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003935/1.412, allocations: 210.2 kB / 0.5837 GB, free: 68.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/1.412, allocations: 193.2 kB / 0.5839 GB, free: 68.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/1.418, allocations: 2.22 MB / 0.586 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.418, allocations: 18.61 kB / 0.5861 GB, free: 66.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.418, allocations: 10.91 kB / 0.5861 GB, free: 66.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.009e-05/1.418, allocations: 6.047 kB / 0.5861 GB, free: 66.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.429, allocations: 4.963 MB / 0.5909 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.429, allocations: 3.969 kB / 0.5909 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/1.43, allocations: 170.3 kB / 0.5911 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002203/1.433, allocations: 0.525 MB / 0.5916 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/1.433, allocations: 38.83 kB / 0.5916 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/1.446, allocations: 12.04 MB / 0.6034 GB, free: 54.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.447, allocations: 0 / 0.6034 GB, free: 54.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/1.453, allocations: 3.211 MB / 0.6065 GB, free: 52.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.455, allocations: 423.7 kB / 0.6069 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/1.455, allocations: 32.61 kB / 0.607 GB, free: 52.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.457, allocations: 71.53 kB / 0.607 GB, free: 52.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/1.457, allocations: 115.2 kB / 0.6072 GB, free: 52.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.457, allocations: 32.84 kB / 0.6072 GB, free: 52.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002297/1.459, allocations: 1.174 MB / 0.6083 GB, free: 51.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.459, allocations: 4 kB / 0.6083 GB, free: 51.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003285/1.463, allocations: 0.6143 MB / 0.6089 GB, free: 51.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008153/1.471, allocations: 4.455 MB / 0.6133 GB, free: 49.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004586/1.476, allocations: 2.211 MB / 0.6154 GB, free: 47.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/1.476, allocations: 5.969 kB / 0.6154 GB, free: 47.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003223/1.479, allocations: 1.636 MB / 0.617 GB, free: 46.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.483, allocations: 0.4989 MB / 0.6175 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/1.497, allocations: 5.475 MB / 0.6229 GB, free: 44.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/1.5, allocations: 2.317 MB / 0.6251 GB, free: 43.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002245/1.502, allocations: 1.143 MB / 0.6263 GB, free: 42.24 MB / 442.7 MB Notification: Performance of SimCode: time 1.092e-06/1.502, allocations: 0 / 0.6263 GB, free: 42.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.124/5.627, allocations: 138.2 MB / 0.7612 GB, free: 89.98 MB / 458.7 MB