Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.593e-05, allocations: 4 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 50.42 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4783/0.5831, allocations: 110.9 MB / 453.5 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5834, allocations: 84.77 kB / 453.6 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2769/0.8604, allocations: 65.58 MB / 0.507 GB, free: 1.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8604, allocations: 0 / 0.507 GB, free: 1.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004324/0.8609, allocations: 91.86 kB / 0.5071 GB, free: 1.867 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01341/0.8743, allocations: 3.272 MB / 0.5103 GB, free: 14.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.8744, allocations: 8.031 kB / 0.5103 GB, free: 14.53 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001917/0.8763, allocations: 438.4 kB / 0.5107 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.879, allocations: 451.1 kB / 0.5112 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008683/0.8878, allocations: 2.375 MB / 0.5135 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003821/0.8882, allocations: 226.2 kB / 0.5137 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.8896, allocations: 315.8 kB / 0.514 GB, free: 10.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.9034, allocations: 4.205 MB / 0.5181 GB, free: 6.312 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/0.9036, allocations: 4 kB / 0.5181 GB, free: 6.309 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006676/0.9043, allocations: 132 kB / 0.5182 GB, free: 6.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/0.9045, allocations: 130 kB / 0.5184 GB, free: 6.051 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.916, allocations: 3.428 MB / 0.5217 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3296/1.246, allocations: 13.58 MB / 0.535 GB, free: 98.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006212/1.252, allocations: 2.863 MB / 0.5378 GB, free: 98.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00482/1.257, allocations: 1.586 MB / 0.5393 GB, free: 97.99 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005746/1.257, allocations: 142.7 kB / 0.5395 GB, free: 97.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/1.257, allocations: 55.14 kB / 0.5395 GB, free: 97.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=167): time 4.639e-06/1.257, allocations: 0 / 0.5395 GB, free: 97.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=183): time 0.02661/1.284, allocations: 7.287 MB / 0.5466 GB, free: 96.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/1.284, allocations: 75 kB / 0.5467 GB, free: 96.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005184/1.289, allocations: 2.044 MB / 0.5487 GB, free: 96.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005073/1.29, allocations: 58.8 kB / 0.5488 GB, free: 96.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/1.291, allocations: 1.352 MB / 0.5501 GB, free: 96.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/1.292, allocations: 0.6119 MB / 0.5507 GB, free: 95.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/1.293, allocations: 36.41 kB / 0.5507 GB, free: 95.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/1.293, allocations: 388.6 kB / 0.5511 GB, free: 95.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/1.295, allocations: 1.08 MB / 0.5521 GB, free: 95.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003086/1.298, allocations: 1.478 MB / 0.5536 GB, free: 95.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/1.302, allocations: 1.293 MB / 0.5548 GB, free: 94.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/1.302, allocations: 3.688 kB / 0.5548 GB, free: 94.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.008793/1.311, allocations: 3.287 MB / 0.5581 GB, free: 94.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/1.311, allocations: 13.73 kB / 0.5581 GB, free: 94.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/1.311, allocations: 14.38 kB / 0.5581 GB, free: 94.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/1.314, allocations: 0.8073 MB / 0.5589 GB, free: 94.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/1.318, allocations: 465.9 kB / 0.5593 GB, free: 94.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.331, allocations: 10.25 MB / 0.5693 GB, free: 87.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/1.334, allocations: 128.5 kB / 0.5694 GB, free: 86.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005886/1.335, allocations: 74 kB / 0.5695 GB, free: 86.97 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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005782/1.335, allocations: 225.7 kB / 0.5697 GB, free: 86.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000941/1.336, allocations: 243.1 kB / 0.57 GB, free: 86.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008324/1.345, allocations: 3.265 MB / 0.5732 GB, free: 85.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.345, allocations: 21.06 kB / 0.5732 GB, free: 85.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.345, allocations: 7.656 kB / 0.5732 GB, free: 85.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.509e-05/1.345, allocations: 10.5 kB / 0.5732 GB, free: 85.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.364, allocations: 6.804 MB / 0.5798 GB, free: 82.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.715e-05/1.364, allocations: 5.812 kB / 0.5798 GB, free: 82.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/1.367, allocations: 312 kB / 0.5801 GB, free: 82.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004091/1.371, allocations: 0.9143 MB / 0.581 GB, free: 82.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000473/1.372, allocations: 45.67 kB / 0.5811 GB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/1.388, allocations: 13.47 MB / 0.5942 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.388, allocations: 0 / 0.5942 GB, free: 71.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.4, allocations: 4.993 MB / 0.5991 GB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/1.402, allocations: 0.5802 MB / 0.5997 GB, free: 69.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008408/1.403, allocations: 38.56 kB / 0.5997 GB, free: 68.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.406, allocations: 134.6 kB / 0.5998 GB, free: 68.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/1.406, allocations: 164.9 kB / 0.6 GB, free: 68.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.407, allocations: 52.36 kB / 0.6 GB, free: 68.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003802/1.41, allocations: 1.579 MB / 0.6016 GB, free: 68.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.41, allocations: 0 / 0.6016 GB, free: 68.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003899/1.414, allocations: 0.7365 MB / 0.6023 GB, free: 68.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01205/1.426, allocations: 6.382 MB / 0.6085 GB, free: 64.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007284/1.434, allocations: 3.43 MB / 0.6119 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.434, allocations: 2.531 kB / 0.6119 GB, free: 63.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005401/1.439, allocations: 2.43 MB / 0.6143 GB, free: 61.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/1.445, allocations: 0.6651 MB / 0.6149 GB, free: 60.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/1.463, allocations: 6.515 MB / 0.6213 GB, free: 55.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/1.467, allocations: 2.539 MB / 0.6238 GB, free: 53.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003013/1.47, allocations: 1.262 MB / 0.625 GB, free: 51.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/1.47, allocations: 0 / 0.625 GB, free: 51.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.608/6.078, allocations: 176.4 MB / 0.7972 GB, free: 60.63 MB / 458.7 MB