Ignoring simflag -noemit -jacobian= since it seems broken on HelloWorld Running command: "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_YD,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.109/2.109, allocations: 214.7 MB / 226.9 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.965e-05, allocations: 8 kB / 282 MB, free: 10.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 49.71 MB / 331.8 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6431/0.7601, allocations: 151.7 MB / 483.5 MB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/0.7606, allocations: 72.59 kB / 483.6 MB, free: 11.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615/3.376, allocations: 466.3 MB / 0.9276 GB, free: 36.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.994e-06/3.376, allocations: 0 / 0.9276 GB, free: 36.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001313/3.377, allocations: 324.2 kB / 0.9279 GB, free: 36.53 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.06968/3.447, allocations: 13.58 MB / 0.9412 GB, free: 32.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/3.447, allocations: 12.41 kB / 0.9412 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01042/3.458, allocations: 2.01 MB / 0.9432 GB, free: 32.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05631/3.514, allocations: 6.704 MB / 0.9497 GB, free: 31.49 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0406/3.555, allocations: 11.47 MB / 0.9609 GB, free: 30.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001805/3.557, allocations: 1.042 MB / 0.9619 GB, free: 30.12 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007624/3.564, allocations: 1.356 MB / 0.9633 GB, free: 30.12 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08137/3.646, allocations: 23.64 MB / 0.9863 GB, free: 27.51 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009084/3.647, allocations: 19.91 kB / 0.9864 GB, free: 27.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007395/3.654, allocations: 0.585 MB / 0.9869 GB, free: 27.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/3.656, allocations: 0.9357 MB / 0.9878 GB, free: 26.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06622/3.722, allocations: 21.44 MB / 1.009 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6422/4.364, allocations: 77.49 MB / 1.084 GB, free: 32.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04779/4.412, allocations: 30.47 MB / 1.114 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02733/4.439, allocations: 10.65 MB / 1.125 GB, free: 32.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09646/4.536, allocations: 33.26 MB / 1.157 GB, free: 28 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/4.536, allocations: 122.6 kB / 1.157 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1011): time 1.693e-05/4.536, allocations: 1.344 kB / 1.157 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1019): time 0.1164/4.652, allocations: 37.62 MB / 1.194 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/4.653, allocations: 165.4 kB / 1.194 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/4.666, allocations: 4.294 MB / 1.198 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.002526/4.668, allocations: 165 kB / 1.198 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005796/4.674, allocations: 5.207 MB / 1.204 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006707/4.681, allocations: 3.335 MB / 1.207 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002558/4.683, allocations: 176.4 kB / 1.207 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001275/4.685, allocations: 0.6995 MB / 1.208 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03132/4.716, allocations: 7.431 MB / 1.215 GB, free: 0 / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02213/4.738, allocations: 8.336 MB / 1.223 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02273/4.761, allocations: 7.964 MB / 1.231 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.772e-05/4.761, allocations: 12 kB / 1.231 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.4887/5.25, allocations: 20.95 MB / 1.251 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.735e-05/5.25, allocations: 24.75 kB / 1.251 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001764/5.25, allocations: 43.38 kB / 1.251 GB, free: 87.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03282/5.283, allocations: 8.449 MB / 1.26 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01239/5.296, allocations: 1.391 MB / 1.261 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0542/5.35, allocations: 27.79 MB / 1.288 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/5.361, allocations: 426.6 kB / 1.289 GB, free: 79.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003185/5.364, allocations: 372.4 kB / 1.289 GB, free: 79.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (727): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.00582/5.37, allocations: 0.5629 MB / 1.289 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004317/5.375, allocations: 0.6973 MB / 1.29 GB, free: 79.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0633/5.438, allocations: 21.01 MB / 1.311 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004076/5.438, allocations: 247.5 kB / 1.311 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.288e-05/5.438, allocations: 13.56 kB / 1.311 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002313/5.439, allocations: 41.16 kB / 1.311 GB, free: 78.53 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1157/5.554, allocations: 39.9 MB / 1.35 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001987/5.555, allocations: 2.062 kB / 1.35 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009276/5.564, allocations: 0.973 MB / 1.351 GB, free: 67.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03065/5.595, allocations: 8.543 MB / 1.359 GB, free: 65.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002825/5.598, allocations: 218.5 kB / 1.359 GB, free: 65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05784/5.655, allocations: 32.04 MB / 1.391 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/5.655, allocations: 6.281 kB / 1.391 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08151/5.737, allocations: 31.29 MB / 1.421 GB, free: 23.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008792/5.746, allocations: 2.359 MB / 1.424 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003988/5.75, allocations: 160 kB / 1.424 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009944/5.76, allocations: 393.2 kB / 1.424 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004244/5.764, allocations: 0.7848 MB / 1.425 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002966/5.767, allocations: 277.7 kB / 1.425 GB, free: 20.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008872/5.776, allocations: 3.26 MB / 1.428 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.164e-06/5.776, allocations: 0 / 1.428 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01698/5.793, allocations: 2.649 MB / 1.431 GB, free: 14.47 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (510): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.521/6.314, allocations: 33.88 MB / 1.464 GB, free: 85.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04924/6.364, allocations: 17.24 MB / 1.481 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/6.364, allocations: 0.7656 kB / 1.481 GB, free: 84.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.03436/6.398, allocations: 10.05 MB / 1.491 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01443/6.412, allocations: 1.578 MB / 1.492 GB, free: 83.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1045/6.517, allocations: 31.45 MB / 1.523 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02397/6.541, allocations: 9.507 MB / 1.532 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01353/6.555, allocations: 1.982 MB / 1.534 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01397/6.569, allocations: 5.191 MB / 1.539 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of SimCode: time 1.843e-06/6.569, allocations: 0 / 1.539 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.057/7.626, allocations: 276.7 MB / 1.809 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/7.626, allocations: 173.8 kB / 1.81 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/19.71, allocations: 0 / 1.81 GB, free: 11.89 MB / 0.5261 GB